Commit Graph

40 Commits

Author SHA1 Message Date
ff058d0ae1 fix: memory: use rigth index and addr, add page to pt before write it 2024-10-29 15:17:59 +01: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
73b8ffb3b8 wip: memory is almost fixed and working fine (infinite loop on zones linked lists) 2024-10-19 23:20:13 +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
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
41786ea523 feature: add a few helpers fn (is...)
fix: print unprintable characters no longer occurs
2024-10-11 13:10:47 +02:00
50b1487708 feature: shell kb input is now working with interrupts (not clean tho, might need to change it) 2024-10-09 20:26:44 +02:00
e5d7b80ed5 fix: irqs are handled correctly with regs->int_no (and the keyboard handler works) 2024-10-09 18:03:17 +02:00
4fb51d4356 feature: start to implement keyboard handler and better isrs/irqs 2024-10-09 17:54:29 +02:00
599de25eec fix: no more random reboot 2024-10-08 23:56:34 +02:00
d6b35a2786 feature: apic is now enabled and the double fault interrupt at boot no longer occurs 2024-10-03 15:20:19 +02:00
8b2d35594d add: idt 2024-10-02 14:15:57 +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
2728346711 add: kpanic 2024-09-22 09:54:56 +02:00
283f073124 feature: heap command prints the status of the allocator
kprintf: change KERN_DEFAULT to 0
2024-09-22 01:57:27 +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
a02931a165 feature: print_stack working (dont use opti flags, else the stack is broken) 2024-09-17 11:10:41 +02:00
52951c96d5 fix: merdella --credits is better now 2024-09-11 16:25:23 +02:00
365ed0cc2e fix: gdt work I think 2024-09-10 21:38:43 +02:00
15bdb4743a feature: functional shell with help and merdella commands
TOOD: reboot, poweroff, echo, color
2024-09-10 20:03:33 +02:00
0787b1a1fc add: gdt (peut etre y'a un gdt on sait pas) 2024-09-09 18:00:17 +02:00
cf617d6984 feature: multiple screens + cursor move (bug to fix)
style: reorganise code structure
2024-09-08 05:03:50 +02:00
1894987afc Merge branch 'main' of git.chauvet.pro:starnakin/42_KFS 2024-09-07 14:37:47 +02:00
446eddf3b7 submodule added 2024-09-07 14:35:52 +02:00
1685f2d0b9 add: print keypressed 2024-09-07 14:18:04 +02:00
7b9a5e0ef7 fix: kprintf now works with multiple arguments 2024-09-07 12:11:38 +02:00
dc47b02078 hello world 2024-09-07 01:46:21 +02:00
ce6d6ca969 use libbozo 2024-09-07 01:44:40 +02:00
a3e5157879 Makefile done and kernel booting 2024-09-07 00:36:03 +02:00
32c01291ad init project structure 2024-09-06 23:36:07 +02:00