Commit Graph

18 Commits

Author SHA1 Message Date
3686e03bb7 Cast %p usage to void*
Apparently, %p only accepts void*, and not any pointer type. Still better than casting a pointer to uint64_t.
2022-10-08 18:27:05 +02:00
5fc543c179 Kernel/ACPI: Use printf() with %p 2022-10-08 18:15:08 +02:00
159d025d9f ACPI::get_rsdt_or_xsdt(): Use a temporary variable to do mappings, then set cache to it. 2022-10-08 15:05:59 +02:00
a5daa24fbf Fix bug :) 2022-10-08 15:03:10 +02:00
533b7c9e71 Refactor ACPI::get_rsdt_or_xsdt()
Much better now.

Also, remove a FIXME in PMM.cpp, since we do map the page bitmap to virtual memory now.
2022-10-08 15:00:42 +02:00
abcf1b6118 Define PAGE_SIZE as 4096 and use it everywhere instead of using 4096 as a magic number 2022-10-08 14:52:28 +02:00
594d79143e Kernel: enable -Wconversion 2022-10-06 17:13:34 +02:00
07d6fe388d Fix naming 2022-09-25 21:43:28 +02:00
3891d0c52e Rename KernelMemoryManager to MemoryManager
Kind of a more catchy name, isn't it?
2022-09-24 21:45:13 +02:00
6a0cf7cf98 New framebuffer class!! 2022-09-10 18:42:40 +02:00
fe672e6a18 Use appropriate logging functions 2022-09-08 17:03:17 +02:00
276d20a33d Remove log/Address.h, since Log.h has variadic functions now 2022-09-08 16:26:24 +02:00
d1498a5e82 Change module of RSDT from "acpi/rsdt" to "acpi" 2022-09-08 16:23:39 +02:00
b4484e951d LOTS MORE LOGGING. which is great, of course. 2022-09-07 19:41:08 +02:00
1820286d8b stuff 2022-09-07 10:33:22 +02:00
5b132e3197 Fix FindTable method to work properly with RSDT instead of XSDT 2022-09-06 11:46:47 +02:00
f7f8c1068a Move SDTHeader to separate file 2022-09-06 11:46:26 +02:00
1b727a66ea Ready. Set. Go! 2022-09-05 16:13:51 +02:00