asleepymoon
asleepymoon pushed to restart at asleepymoon/Luna 2022-12-05 12:27:17 +00:00
55a30ac487 Make CHECK_PAGE_ALIGNED use expect() instead of check()
asleepymoon pushed to restart at asleepymoon/Luna 2022-12-05 12:26:37 +00:00
bfd4647467 Rename largest_free -> largest_free_entry
asleepymoon pushed to restart at asleepymoon/Luna 2022-12-05 12:23:33 +00:00
d9fc50f1ea Make MemoryMapEntry have private fields with public getters
asleepymoon pushed to restart at asleepymoon/Luna 2022-12-05 12:06:41 +00:00
ec1354fc8d const in TextConsole
asleepymoon pushed to restart at asleepymoon/Luna 2022-12-05 12:04:29 +00:00
58ecf11424 Make all refs to the bootboot structure const
asleepymoon pushed to restart at asleepymoon/Luna 2022-12-05 12:01:09 +00:00
54ce511f1d More const
asleepymoon pushed to restart at asleepymoon/Luna 2022-12-05 11:59:27 +00:00
792642dd6f MORE CONST
asleepymoon pushed to restart at asleepymoon/Luna 2022-12-05 11:53:43 +00:00
86a12f301e Make value_byte a helper
asleepymoon pushed to restart at asleepymoon/Luna 2022-12-05 11:50:57 +00:00
004e13a5f3 Make bitmap methods const if not modifying the bitmap
asleepymoon pushed to restart at asleepymoon/Luna 2022-12-05 11:49:33 +00:00
3b77ba6b04 EVERYTHING IS CONSTANT IN THIS UNIVERSE
asleepymoon pushed to restart at asleepymoon/Luna 2022-12-04 14:56:53 +00:00
af96db3641 Remove bootboot declaration from MemoryManager now that it's MemoryMapIterator's job to walk the mmap
asleepymoon pushed to restart at asleepymoon/Luna 2022-12-04 14:56:19 +00:00
77e64d74a0 Remove unused header
asleepymoon pushed to restart at asleepymoon/Luna 2022-12-04 14:55:41 +00:00
0a296413e6 It's not worth it aborting when failing to determine CPU name
asleepymoon pushed to restart at asleepymoon/Luna 2022-12-04 14:53:42 +00:00
766804b3a0 Use get_blocks_from_size instead of +1
asleepymoon pushed to restart at asleepymoon/Luna 2022-12-04 14:50:49 +00:00
0d10c98477 SImplify init_physical_frame_allocator() even more
asleepymoon pushed to restart at asleepymoon/Luna 2022-12-04 14:45:49 +00:00
5f6c48bd12 Use a friendlier way of iterating over the memory map
asleepymoon pushed to restart at asleepymoon/Luna 2022-12-04 14:15:04 +00:00
5aa2d1fa18 Add a Bitmap class to provide common functionality and use that in the MemoryManager
asleepymoon pushed to restart at asleepymoon/Luna 2022-12-04 12:41:42 +00:00
ee76bdf84d Add sanity check
asleepymoon pushed to restart at asleepymoon/Luna 2022-12-04 12:39:27 +00:00
bde3d55eb2 Remove escape from comment
asleepymoon pushed to restart at asleepymoon/Luna 2022-12-04 11:59:04 +00:00
f8120e01c0 Panic in delete as well