asleepymoon
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
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-16 19:38:03 +00:00
9d318d50aa Use TRY in MMU.cpp
2c9329928c Replace page_size (function) with ARCH_PAGE_SIZE (constant)
Compare 2 commits »
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-16 19:30:57 +00:00
30ac95bcf8 Use usize/isize instead of (s)size_t
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-16 19:02:42 +00:00
7fc5a6b753 Make kernel rodata and data not executable
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-16 16:37:46 +00:00
7f15ba0ac5 Add some interrupt handling
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-15 19:48:11 +00:00
df8666fd73 Remove unneeded label
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-15 19:42:23 +00:00
bb46cd890b Add GDT and IDT setup and loading + NX if supported
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-15 18:37:10 +00:00
c9feb11366 Introduce a check() method (like assert() but always on)
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-15 18:10:57 +00:00
c319336e3d Add a CPU interface
e16324887f MMU: Properly clear flags
Compare 2 commits »