asleepymoon
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-19 17:39:23 +00:00
047f445651 Kernel: Add helpers to validate memory addresses
424b069d55 Kernel: Start the call stack with a null RBP on x86_64
db3e34b2ba Result: Add try_set_value()
Compare 3 commits »
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-19 17:01:07 +00:00
883a1da0d7 More indentation in CMakeLists.txt
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-19 17:00:10 +00:00
70c6b78e35 Organize source tree
a44e2f41fe Cleanup kernel/CMakeLists.txt
Compare 2 commits »
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-19 16:52:46 +00:00
102eabcb4b Do some more formatted logging
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-19 16:47:15 +00:00
83e6bd1322 Make the build system more platform-agnostic
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-19 16:20:33 +00:00
8cae20a82c Move __check_failed out of line so anyone can implement it
2b9bdf560e Move include to .cpp file
b8c136eeb4 Make a common header for attribute shorthands
Compare 3 commits »
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-19 15:13:48 +00:00
648bd3fb61 Switch format.h to use Result
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-19 14:54:21 +00:00
31673c0ac9 Introduce format attribute
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-19 14:47:08 +00:00
3cdf224b90 Remove useless files now that functions are out of line
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-19 14:43:31 +00:00
dadc3e570b Move a few functions out of line
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-19 14:28:22 +00:00
56c2ca3381 Add _strtoi and _strtou
bad856afe0 Add %p and %% to cstyle_format
Compare 2 commits »
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-19 12:59:35 +00:00
88af7a915b Start padding and alternate forms for integers
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-19 12:23:12 +00:00
c48203997a Move output_integer into a function that accepts value arguments
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-19 12:15:40 +00:00
4ebf244d3b Support printing some integers in output_integer
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-19 11:31:02 +00:00
603ff46d8c Add a format implementation
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-18 20:17:47 +00:00
be2e915d0d Use the standard names for ctype functions if inside moon or _LUNA_OVERRIDE_STDC is defined
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-18 20:13:16 +00:00
1b3243a80c Add ctype.h functions to the Luna library
762ca844d8 Add CPU::platform_string
Compare 2 commits »
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-18 19:51:52 +00:00
109de54822 Provide stubbed handlers for many more x86 exceptions
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-18 17:03:00 +00:00
860f13cd7e Rename align_base to alignment
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-18 16:59:45 +00:00
2e2656a02f Add static assertions to constexpr functions