Commit Graph

55 Commits

Author SHA1 Message Date
2a281522cf feature: vbe is enabled, drivers for vbe tbd 2024-12-03 13:29:36 +01:00
4bd4198293 core: rename vzones to zones 2024-12-03 09:28:17 +01:00
1352201800 fix: memory memset right size of frame_table 2024-11-28 15:15:32 +01:00
dc12949329 fix: malloc 2024-11-28 11:20:45 +01:00
9944f79b2e fix: last page of the pt is now usable 2024-11-26 14:17:04 +01:00
8203b36092 fix: remove imcomplete page 2024-11-26 14:16:24 +01:00
da804296c6 fix: memory: protect kernel code 2024-11-26 12:43:09 +01:00
0c280d971b clean: simplify code 2024-11-20 16:26:33 +01:00
94b2fa340c fix: check if zone is not null before explore it 2024-11-20 16:26:01 +01:00
ec3a038a36 fix: free frame use right addr 2024-11-20 16:25:31 +01:00
3bc05604db fix: start frame allocator after kernel code 2024-11-20 01:51:07 +01:00
b7dd7761d5 core: (struct frame_zone).addr now represent address without the header 2024-11-20 00:49:31 +01:00
3315d85e0c wip: frame_allocator working pretty good (?)
core: remove physical allocatory
2024-11-19 16:57:19 +01:00
e8fd6c55eb wip: frame_allocator with multiboot zones 2024-11-18 15:12:46 +01:00
d8d31d959f fix: ssp is now enabled and it no longer crashes with several prints (so far) 2024-11-16 14:56:05 +01:00
20ba985b34 fix: able to read multiboot mmap 2024-11-15 13:35:48 +01:00
09ea386b21 wip: alloc_femmes now uses multiboot memory mapping 2024-11-13 13:32:14 +01:00
1e35f3b710 fix: add init flag 2024-11-12 22:06:39 +01:00
11ef629a3a wip: multiboot struct is now in the page directory/page table 2024-11-12 17:13:36 +01:00
3c87632b0c wip: change the C function set_mem_size to asm 2024-11-08 12:45:00 +01:00
5fccbf3708 feature: memory limit with multiboot (wip, still crashing) 2024-11-07 13:45:29 +01:00
6533334824 fix: free: use the new pt system 2024-10-30 21:26:00 +01:00
ae3cfa7647 core: use ptr param instead of global 2024-10-30 20:48:59 +01:00
5fba376e2f clean: remove print 2024-10-29 15:18:08 +01:00
ff058d0ae1 fix: memory: use rigth index and addr, add page to pt before write it 2024-10-29 15:17:59 +01:00
659ba24f12 fix: memory: current_page_table addr 2024-10-25 16:19:25 +02:00
cbcff77a4a fix: memory: use 1024 instead of 4096 when use 32bit ptr 2024-10-25 15:33:31 +02:00
a9bfb49bb8 wip: change memory to have access to page_tables and allocate these dynamically 2024-10-25 15:11:11 +02:00
f5147e78f9 wip: page_tables allocation 2024-10-21 16:29:50 +02:00
4337bc11c8 wip: debug memory pages persistency 2024-10-21 13:36:42 +02:00
8c936f6323 Merge branch 'main' of git.chauvet.pro:starnakin/42_KFS 2024-10-19 23:20:39 +02:00
73b8ffb3b8 wip: memory is almost fixed and working fine (infinite loop on zones linked lists) 2024-10-19 23:20:13 +02:00
579b9ed349 opti: memory: for loop stop iterate when not enough block is available 2024-10-18 15:41:55 +02:00
55037b75fa fix: change the pte to use a bitmask operation (still crashes but later) 2024-10-18 15:38:36 +02:00
7128f2640a wip: memory change 2024-10-18 14:45:37 +02:00
9e85807a09 Merge branch 'main' of git.chauvet.pro:starnakin/42_KFS 2024-10-17 16:11:40 +02:00
049c31193f wip: change the way memory is handled 2024-10-17 16:10:39 +02:00
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