apio pushed to restart at apio/Luna 2022-12-18 15:40:12 +00:00
6c3b7672a0 Kernel: Demo the initrd using TarStream
1d6092341a Add a generic TarStream class
eadca3d25b Add nullcpy()
0d65f188f0 Alignment.h: Include the Types
730d0682ee Result: Add try_set_value_with_specific_error()
Compare 5 commits »
apio pushed to restart at apio/Luna 2022-12-18 13:55:43 +00:00
b01878cd3c Update README.md
apio pushed to restart at apio/Luna 2022-12-18 13:43:29 +00:00
ffd3385d0d TextConsole: decoder -> utf8_decoder
apio pushed to restart at apio/Luna 2022-12-18 13:35:35 +00:00
6389099808 UTF-8 part 2: Encoding wide-character strings into UTF-8
9c1c6bb320 Add wcslen()
Compare 2 commits »
apio pushed to restart at apio/Luna 2022-12-18 12:11:52 +00:00
36179155e1 Add UTF-8 support to TextConsole!!
75ba14a3ad Add UTF-8 decoder support!!
23d405bbda Add an unreachable() macro function that panics if reached
Compare 3 commits »
apio pushed to restart at apio/Luna 2022-12-17 14:51:54 +00:00
a89ae9bed7 Run include-what-you-use
apio pushed to restart at apio/Luna 2022-12-17 14:48:10 +00:00
1b867151bd MemoryManager: Run include-what-you-use
apio pushed to restart at apio/Luna 2022-12-17 14:45:46 +00:00
95b0091622 Split off arch/x86_64/CPU.cpp into various files
apio pushed to restart at apio/Luna 2022-12-17 14:34:22 +00:00
799a02c883 Remove unnecessary std:: prefix from inside std
apio pushed to restart at apio/Luna 2022-12-17 14:32:50 +00:00
d5b9ff1569 Remove unused function definition
apio pushed to restart at apio/Luna 2022-12-17 14:28:54 +00:00
e4b971f09c Make LinkedList::prepend() also set the element as the last one if we have no elements
apio pushed to restart at apio/Luna 2022-12-17 14:27:52 +00:00
f5de9c5589 LinkedList: Add a prepend() method
c5220cbf64 LinkedList: Rename append_after to add_after
Compare 2 commits »
apio pushed to restart at apio/Luna 2022-12-17 14:16:02 +00:00
2bc6398d3e TRY(): Call release_value() instead of expect_release_value()
34c738116c Result: Make some member functions const
90bd4a83c0 Result, Option: Move member initialization to constructors
ee6387e7b5 Refactor NumberParsing.cpp + a lot of comments
Compare 4 commits »
apio pushed to restart at apio/Luna 2022-12-17 13:43:34 +00:00
97cb57d521 Check for overflow/underflow in parse_signed_integer
apio pushed to restart at apio/Luna 2022-12-17 13:33:03 +00:00
59c9d8f119 asm -> asm volatile
apio pushed to restart at apio/Luna 2022-12-17 12:51:04 +00:00
acb0ab1cd7 Use TypeTraits in Alignment.h to make static assertions more readable
ace674e518 LinkedList: Make sure the contained type inherits from DoublyLinkedListNode<T>
2cbc9fa385 Add some nice TypeTraits
f77126768f Improve message
Compare 4 commits »
apio pushed to restart at apio/Luna 2022-12-17 11:46:00 +00:00
16954695dd Tell the compiler that string_format is a printf-style function
apio pushed to restart at apio/Luna 2022-12-17 11:44:04 +00:00
16e00bada0 Add comments to Format.h
abbed13f27 Add a 'pure' variant of cstyle_format which is infallible
48fcb8734a Give number parsing functions more meaningful names
Compare 3 commits »
apio pushed to restart at apio/Luna 2022-12-17 10:36:57 +00:00
cf3b2176f0 Implement OwnedStringView::from_string_literal
apio pushed to restart at apio/Luna 2022-12-17 09:57:41 +00:00
df9a13cbfb KernelVM: Make g_used_vm atomic and g_kernelvm_bitmap a LockedValue
132963070b MemoryManager: Make some variables atomic and the frame bitmap a LockedValue
f97515bd7e Kernel: Add Spinlock and LockedValue<T>
6e5d2b5335 Thread: Make g_next_id atomic
14461c6fe8 Atomic: Add operators += and -=
Compare 6 commits »