Added a status field to memory regions to differentiate allocated and reserved regions

This commit is contained in:
2022-12-29 19:21:59 +00:00
parent 02b3be636b
commit 7f51b0755b
2 changed files with 3 additions and 1 deletions

View File

@@ -18,7 +18,7 @@ int main(int argc, const char **argv)
if (system_memory == MAP_FAILED) {
perror("mmap");
fprintf(stderr, "cannot allocate simulated system RAM buffer");
fprintf(stderr, "cannot allocate simulated system RAM buffer\n");
return -1;
}