Loader support for SRAM ECC.

Change-Id: I0c6791c356d9186cc8dabae9fd698b1d4de19b09
This commit is contained in:
Sean Keely committed 2019-02-25 18:30:05 -05:00
1 parent c56d86100b
commit 3c3db0243e
8 files changed
+62 -35

No files matched your search

@@ -108,7 +108,7 @@ bool IsAccessibleMemoryAddress(uint64_t address)
int32_t random_fd = 0;
ssize_t bytes_written = 0;
if (-1 == (random_fd = open("/dev/random", O_WRONLY))) {
return false;
return true; // Skip check if /dev/random is not available.
}
bytes_written = write(random_fd, (void*)address, 1);
if (-1 == close(random_fd)) {