diff options
Diffstat (limited to 'kernel/features/mm.c')
-rw-r--r-- | kernel/features/mm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/features/mm.c b/kernel/features/mm.c index eca1aae..0f80fda 100644 --- a/kernel/features/mm.c +++ b/kernel/features/mm.c @@ -730,9 +730,8 @@ void memory_user_hook(void) CLEAR void memory_install(void) { // Set all memory 'used' - for (u32 i = 0; i < 1024 * 1024 / 8; i++) { + for (u32 i = 0; i < sizeof(memory); i++) memory[i] = 0xff; - } // Free memory using mmap multiboot_mmap(); |