Commit Graph

18 Commits

Author SHA1 Message Date
457244222b core: add a new pte 2024-10-15 13:32:02 +02:00
577d6c97ec warning: mismatched types on a variable 2024-10-15 10:57:15 +02:00
fd1086b408 fix: use the boot pt 2024-10-15 10:55:13 +02:00
5f075a9090 fix: simplify code and start frame at 1 instead of 0 for the NULL 2024-10-15 01:31:53 +02:00
9dc9002f00 fix: page alloc return frame addr instead page addr 2024-10-15 01:31:10 +02:00
3372e386f5 fix: add flag when page-frame link 2024-10-15 01:23:12 +02:00
886f912f36 fix: find_next_block 2024-10-15 01:10:37 +02:00
5fc90ea240 fix: paging with higher half kernel 2024-10-15 00:29:46 +02:00
9855669662 fix: gdt init no longer crashes
WIP: change page directory and stuff so the memory can work properly
2024-10-14 23:36:41 +02:00
0bcc99997a add: ksize and vsize 2024-09-26 17:06:03 +02:00
a66f9174f4 feature: both physical and virtual allocators should be done 2024-09-26 16:18:06 +02:00
deca2b9bfc fix: show_alloc_mem() can display detailed info properly 2024-09-21 12:19:04 +02:00
943f2beab9 feature: kmalloc kfree and krealloc are good 2024-09-21 12:17:27 +02:00
2e41858c77 feature: log level on kprintf (color)
fix: kprintf now uses concatenated strings for the flag
2024-09-20 12:40:36 +02:00
4cc1dba5f9 feature: kfree_alloc is now working (uncomment a free in the main to prove) 2024-09-19 17:39:14 +02:00
5ebf8ac6ab fix: update frame count when allocating some 2024-09-19 17:16:45 +02:00
f559e71433 feature: kalloc_frame and demo in the main 2024-09-19 17:04:35 +02:00
ddf3cfff68 feature: enable paging and load page directory 2024-09-18 17:14:06 +02:00