apio pushed to restart at apio/Luna 2022-12-07 10:23:05 +00:00
c2927de191 Remove unused includes
apio pushed to restart at apio/Luna 2022-12-07 10:13:51 +00:00
a3b69a0cfa Update README.md
apio pushed to restart at apio/Luna 2022-12-07 10:02:16 +00:00
ee276a3a35 Add the nodiscard attribute to make and make_array
dad95a8160 Map the page bitmap to virtual memory
1ebd892c16 Convert uses of u64 to usize
Compare 3 commits »
apio pushed to restart at apio/Luna 2022-12-06 18:41:06 +00:00
8598b1e8fc Replace the _noreturn macro with the C++ native attribute [[noreturn]]
apio pushed to restart at apio/Luna 2022-12-06 18:36:05 +00:00
c099877c35 Remove unnecessary error propagation in Log.cpp
apio pushed to restart at apio/Luna 2022-12-06 18:32:11 +00:00
314acbfe21 Change the serial log to display only milliseconds
apio pushed to restart at apio/Luna 2022-12-06 18:28:34 +00:00
39b310b6b9 Make alignment a template parameter to help the compiler optimize
apio pushed to restart at apio/Luna 2022-12-06 18:05:40 +00:00
d48eb85d1d Heap: Avoid magic numbers
apio pushed to restart at apio/Luna 2022-12-06 17:42:32 +00:00
b5c6ae253d Make LinkedList a lot better
09e447d9d2 Heap: Use LinkedList instead of doing things manually
d8f75f1d3c LinkedList: Add an append_after() method
146da13e43 LinkedList: Make sure to explicitly mark the first node's next and last nodes as nullptr
07e6ebd3cc LinkedList: Fix nonnull_or_error
Compare 7 commits »
apio pushed to restart at apio/Luna 2022-12-06 16:38:42 +00:00
87fb195202 Add DoublyLinkedList data structure
dd29156c85 Alloc: make() now takes variadic arguments, to forward to the constructor
eef74e2897 Add a generic error code (ENONE)
Compare 3 commits »
apio pushed to restart at apio/Luna 2022-12-06 15:41:59 +00:00
a021e7a309 Move make and destroy to luna
apio pushed to restart at apio/Luna 2022-12-06 14:53:36 +00:00
1fa99f4f64 Make {add,sub,mul}_will_overflow more compiler-independent
apio pushed to restart at apio/Luna 2022-12-06 14:48:30 +00:00
26b44e651d Change safe_{sub,add,mul} so they perform the operation only once
b338126854 Heap: Use safe_mul in kcalloc()
e91c04b1d1 luna: Introduce safe arithmetic operations, which return an error if an operation would overflow
Compare 3 commits »
apio pushed to restart at apio/Luna 2022-12-05 20:03:06 +00:00
8ff9cb4b96 x86_64: Add a friendlier handler for page faults
1d0dd8fa93 Use KernelVM in kmalloc() and friends
ba758bcef8 Initialize the KernelVM
6c3024d4ee Heap: Count the heap blocks' size in the size required for an allocation
0edabd6d87 Heap: Add a new block to the end of the linked list
Compare 7 commits »
apio pushed to restart at apio/Luna 2022-12-05 18:26:57 +00:00
eaf8a8aafe Make sure the OS used in CI is Linux
apio pushed to restart at apio/Luna 2022-12-05 18:20:19 +00:00
bf7bcd7d56 Rename CI pipeline
apio pushed to restart at apio/Luna 2022-12-05 18:17:27 +00:00
20eeecb3e1 Run CI on push
apio pushed to restart at apio/Luna 2022-12-05 18:16:41 +00:00
4ec6442ba0 Add build status badge
apio deleted branch something from apio/Luna 2022-12-05 18:12:28 +00:00
apio pushed to something at apio/Luna 2022-12-05 18:10:52 +00:00
4997959d78 Update password