asleepymoon
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 »
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-13 15:56:22 +00:00
3358454833 Add getters for free, used and reserved memory
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-13 15:54:26 +00:00
6a7097c9ec Add variables for the future
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-13 15:51:41 +00:00
ae235e5538 MMU: unmap and remap for x86_64
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-13 15:32:47 +00:00
ba1bf72e1b Remove unused include
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-13 15:31:55 +00:00
d6c56fb512 Mapping finally works!!
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-13 14:34:17 +00:00
4c4f72b865 More MMU stuff, but writing still fails
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-13 13:30:19 +00:00
d148e0aff7 Initialize MemoryManager instead of MMU directly
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-13 13:29:41 +00:00
705c2747de Add memory manager
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-13 11:21:18 +00:00
6b95307b54 Add init
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-13 10:25:39 +00:00
ffbe5260a5 Add Framebuffer stuff
asleepymoon pushed to restart at asleepymoon/Luna 2022-11-13 09:30:30 +00:00
82c2381ac9 Serial printing!!
asleepymoon created branch restart in asleepymoon/Luna 2022-11-13 09:09:32 +00:00