apio pushed to day-4 at apio/aoc-2022 2022-12-05 11:34:10 +00:00
028da62e25 Solve Part 2
apio created branch day-4 in apio/aoc-2022 2022-12-05 11:29:55 +00:00
apio pushed to day-4 at apio/aoc-2022 2022-12-05 11:29:55 +00:00
a83326d9c4 Solve Part 1
apio pushed to restart at apio/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
apio pushed to restart at apio/Luna 2022-12-04 14:56:19 +00:00
77e64d74a0 Remove unused header
apio pushed to restart at apio/Luna 2022-12-04 14:55:41 +00:00
0a296413e6 It's not worth it aborting when failing to determine CPU name
apio pushed to restart at apio/Luna 2022-12-04 14:53:42 +00:00
766804b3a0 Use get_blocks_from_size instead of +1
apio pushed to restart at apio/Luna 2022-12-04 14:50:49 +00:00
0d10c98477 SImplify init_physical_frame_allocator() even more
apio pushed to restart at apio/Luna 2022-12-04 14:45:49 +00:00
5f6c48bd12 Use a friendlier way of iterating over the memory map
apio pushed to restart at apio/Luna 2022-12-04 14:15:04 +00:00
5aa2d1fa18 Add a Bitmap class to provide common functionality and use that in the MemoryManager
apio pushed to restart at apio/Luna 2022-12-04 12:41:42 +00:00
ee76bdf84d Add sanity check
apio pushed to restart at apio/Luna 2022-12-04 12:39:27 +00:00
bde3d55eb2 Remove escape from comment
apio pushed to restart at apio/Luna 2022-12-04 11:59:04 +00:00
f8120e01c0 Panic in delete as well
apio pushed to restart at apio/Luna 2022-12-04 11:58:10 +00:00
22019ac6b2 Print the error instead
apio pushed to restart at apio/Luna 2022-12-04 11:56:00 +00:00
96b32f5a93 Please use make<T> and destroy<T> instead of new and delete
apio pushed to restart at apio/Luna 2022-12-04 11:53:17 +00:00
adb2c2ab41 Add kernel-side new and delete
apio pushed to restart at apio/Luna 2022-12-04 11:47:35 +00:00
b8239698db Add descriptions in CMakeLists
apio pushed to restart at apio/Luna 2022-12-04 11:43:20 +00:00
c7ab6bc2d3 Reorganize the luna/ directory so that headers aren't in the top level include path
apio pushed to restart at apio/Luna 2022-12-04 11:33:02 +00:00
cdbed6970a Result: Add expect_ variants of value() and release_value()
apio pushed to restart at apio/Luna 2022-12-04 11:25:45 +00:00
bed29e71af Replace some uses of check() with expect()