diff options
author | Marvin Borner | 2019-11-23 17:45:47 +0100 |
---|---|---|
committer | Marvin Borner | 2019-11-23 17:45:47 +0100 |
commit | 06fc2c2af5db74ba938a65f72bf505baa5eec23b (patch) | |
tree | 50d0138c115ba0ec24c4d7c15318693d2b73ae4e /src/kernel/paging | |
parent | 9702485247be55f092080a38e3fe3417ee6e6df3 (diff) |
Some formatting
Diffstat (limited to 'src/kernel/paging')
-rw-r--r-- | src/kernel/paging/paging.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/kernel/paging/paging.c b/src/kernel/paging/paging.c index 7e2ca6b..09cbbc0 100644 --- a/src/kernel/paging/paging.c +++ b/src/kernel/paging/paging.c @@ -19,12 +19,11 @@ void paging_install() { page_directory[i] = ((uint32_t) page_tables[i]) | PD_RW | PD_PRESENT; } - // TODO: Calculate max memory paging_set_present(0, memory_get_all() >> 2); // /4 paging_set_used(0, ((uint32_t) ASM_KERNEL_END >> 12) + 1); // /4096 paging_enable(); - serial_write_dec(memory_get_all() / 1024); + serial_write_dec(memory_get_all() >> 10); vga_log("Installed paging", 5); } |