Commit Graph

  • 719c615c92 fix: set_mem_size: use right index main Starnakin 2024-11-08 13:15:15 +0100
  • 3c87632b0c wip: change the C function set_mem_size to asm 0x35c 2024-11-08 12:45:00 +0100
  • 5fccbf3708 feature: memory limit with multiboot (wip, still crashing) 0x35c 2024-11-07 13:45:29 +0100
  • a72c3ca195 doc: explain the default_page_table Starnakin 2024-10-30 21:39:51 +0100
  • 6533334824 fix: free: use the new pt system Starnakin 2024-10-30 21:26:00 +0100
  • ae3cfa7647 core: use ptr param instead of global Starnakin 2024-10-30 20:48:59 +0100
  • 04211e2773 add: documentation: memory Starnakin 2024-10-30 19:05:58 +0100
  • 5fba376e2f clean: remove print Starnakin 2024-10-29 15:18:08 +0100
  • ff058d0ae1 fix: memory: use rigth index and addr, add page to pt before write it Starnakin 2024-10-29 15:17:59 +0100
  • 659ba24f12 fix: memory: current_page_table addr Starnakin 2024-10-25 16:19:25 +0200
  • cbcff77a4a fix: memory: use 1024 instead of 4096 when use 32bit ptr Starnakin 2024-10-25 15:33:31 +0200
  • a9bfb49bb8 wip: change memory to have access to page_tables and allocate these dynamically 0x35c 2024-10-25 15:11:11 +0200
  • f5147e78f9 wip: page_tables allocation 0x35c 2024-10-21 16:29:50 +0200
  • 4337bc11c8 wip: debug memory pages persistency 0x35c 2024-10-21 13:36:42 +0200
  • 8c936f6323 Merge branch 'main' of git.chauvet.pro:starnakin/42_KFS 0x35c 2024-10-19 23:20:39 +0200
  • 73b8ffb3b8 wip: memory is almost fixed and working fine (infinite loop on zones linked lists) 0x35c 2024-10-19 23:20:13 +0200
  • 579b9ed349 opti: memory: for loop stop iterate when not enough block is available Starnakin 2024-10-18 15:41:55 +0200
  • 55037b75fa fix: change the pte to use a bitmask operation (still crashes but later) 0x35c 2024-10-18 15:38:36 +0200
  • 7128f2640a wip: memory change 0x35c 2024-10-18 14:45:37 +0200
  • 9e85807a09 Merge branch 'main' of git.chauvet.pro:starnakin/42_KFS 0x35c 2024-10-17 16:11:40 +0200
  • 049c31193f wip: change the way memory is handled 0x35c 2024-10-17 16:10:39 +0200
  • 457244222b core: add a new pte starnakin 2024-10-15 13:32:02 +0200
  • 577d6c97ec warning: mismatched types on a variable 0x35c 2024-10-15 10:57:15 +0200
  • fd1086b408 fix: use the boot pt starnakin 2024-10-15 10:55:13 +0200
  • 5f075a9090 fix: simplify code and start frame at 1 instead of 0 for the NULL starnakin 2024-10-15 01:31:53 +0200
  • 9dc9002f00 fix: page alloc return frame addr instead page addr starnakin 2024-10-15 01:31:10 +0200
  • 3372e386f5 fix: add flag when page-frame link starnakin 2024-10-15 01:23:12 +0200
  • 886f912f36 fix: find_next_block starnakin 2024-10-15 01:10:37 +0200
  • 5fc90ea240 fix: paging with higher half kernel starnakin 2024-10-15 00:29:46 +0200
  • 9855669662 fix: gdt init no longer crashes WIP: change page directory and stuff so the memory can work properly 0x35c 2024-10-14 23:36:41 +0200
  • 5969dcca54 add: higher half kernel, NOT WORKING starnakin 2024-10-14 15:57:11 +0200
  • 41786ea523 feature: add a few helpers fn (is...) fix: print unprintable characters no longer occurs 0x35c 2024-10-11 13:10:47 +0200
  • 29b59c474d fix: backspace printing + clean a few warnings/junk code 0x35c 2024-10-09 23:24:56 +0200
  • 06ade25a46 add: hold down key && core: create get_key to simplify keyboard usage Starnakin 2024-10-09 22:58:06 +0200
  • fc8bc6a495 add: get_line Starnakin 2024-10-09 22:10:22 +0200
  • 50b1487708 feature: shell kb input is now working with interrupts (not clean tho, might need to change it) 0x35c 2024-10-09 20:26:44 +0200
  • e5d7b80ed5 fix: irqs are handled correctly with regs->int_no (and the keyboard handler works) 0x35c 2024-10-09 18:03:17 +0200
  • 4fb51d4356 feature: start to implement keyboard handler and better isrs/irqs 0x35c 2024-10-09 17:54:29 +0200
  • 0812a06350 core: remove apic.c and unused function in pic.c 0x35c 2024-10-09 16:22:26 +0200
  • 1640b2e125 fix: no more looping on some weird input 0x35c 2024-10-09 16:16:22 +0200
  • f3db3060af add: pic work Starnakin 2024-10-09 16:09:45 +0200
  • a4411b0581 fix: kprintf unsigned int Starnakin 2024-10-09 15:33:46 +0200
  • 599de25eec fix: no more random reboot 0x35c 2024-10-08 23:56:34 +0200
  • 339224f705 fix: remap pic with right offset Starnakin 2024-10-08 12:22:35 +0200
  • d348ac109e fix: interrupt handler function uses an array fix: gdt calls cli asm instruction at init 0x35c 2024-10-08 10:56:15 +0200
  • 14758ff4ea feature: kpanic on interrupts (merdella cmd to test it) 0x35c 2024-10-03 17:00:47 +0200
  • 83e513c32f fix: read_reg and write_reg are better now, no more double fault 0x35c 2024-10-03 16:43:48 +0200
  • d6b35a2786 feature: apic is now enabled and the double fault interrupt at boot no longer occurs 0x35c 2024-10-03 15:20:19 +0200
  • 9479515685 fix: isr.s not compiling because of movb instruction instead of mov 0x35c 2024-10-02 14:20:43 +0200
  • 8b2d35594d add: idt Starnakin 2024-10-02 14:15:57 +0200
  • a3bbffcfd9 core: use define for gdt offset Starnakin 2024-10-02 14:15:49 +0200
  • 64a3f6ee0d feature: start to implements isrs 0x35c 2024-10-01 20:24:33 +0200
  • 5fe4d12c12 fix: set_idt_entry_value: bit shift Starnakin 2024-09-30 15:46:35 +0200
  • 8b73e8850a fix: define the idt struct Starnakin 2024-09-30 15:44:34 +0200
  • 0c540a11da add: idt Starnakin 2024-09-30 13:01:56 +0200
  • ab702aabe7 fix: date cmd crashed because of the cringe kprintf(0, "[...]") from Camille (bozo) 0x35c 2024-09-27 12:23:00 +0200
  • ed11ec794a fix: nvm strcmp should crash on NULL, color cmd is now protected though 0x35c 2024-09-27 12:07:17 +0200
  • f65d5ce418 fix: strcmp protection with NULL args 0x35c 2024-09-27 12:03:52 +0200
  • 0bcc99997a add: ksize and vsize starnakin 2024-09-26 17:06:03 +0200
  • a66f9174f4 feature: both physical and virtual allocators should be done 0x35c 2024-09-26 16:18:06 +0200
  • 9ade568a64 core: oops forgot to add utils.h 0x35c 2024-09-25 23:01:59 +0200
  • a64262ee13 fix: shell cmds with args where not called the most efficient way and ARRAY_SIZE wasnt right 0x35c 2024-09-25 22:58:25 +0200
  • 484e013ceb add: color cmd starnakin 2024-09-25 22:25:43 +0200
  • 02059bff33 fix: cmd arg work starnakin 2024-09-25 22:25:35 +0200
  • 3a916908ef core: split shell command into individual file and support command arg starnakin 2024-09-25 21:31:44 +0200
  • b84d4dbcb8 clean: rm useless file starnakin 2024-09-22 10:13:49 +0200
  • 854248303f fix: create -10Mo iso starnakin 2024-09-22 10:13:13 +0200
  • 2728346711 add: kpanic starnakin 2024-09-22 09:54:56 +0200
  • 283f073124 feature: heap command prints the status of the allocator kprintf: change KERN_DEFAULT to 0 0x35c 2024-09-22 01:57:27 +0200
  • deca2b9bfc fix: show_alloc_mem() can display detailed info properly 0x35c 2024-09-21 12:19:04 +0200
  • 943f2beab9 feature: kmalloc kfree and krealloc are good 0x35c 2024-09-21 12:17:27 +0200
  • 0467c45bf0 Merge branch 'main' of git.chauvet.pro:starnakin/42_KFS 0x35c 2024-09-20 12:41:25 +0200
  • 2e41858c77 feature: log level on kprintf (color) fix: kprintf now uses concatenated strings for the flag 0x35c 2024-09-20 12:40:36 +0200
  • 96179d996d add: %u, %p, %x to kprintf starnakin 2024-09-19 18:00:18 +0200
  • 4cc1dba5f9 feature: kfree_alloc is now working (uncomment a free in the main to prove) 0x35c 2024-09-19 17:39:14 +0200
  • 5ebf8ac6ab fix: update frame count when allocating some 0x35c 2024-09-19 17:16:45 +0200
  • f559e71433 feature: kalloc_frame and demo in the main 0x35c 2024-09-19 17:04:35 +0200
  • 8fd17276b2 fix: compilation warning for maybe unused variables feature: shell - autocomplete and help menu improved 0x35c 2024-09-19 00:05:21 +0200
  • 9b3a6cb5a4 style: clang-format on all files 0x35c 2024-09-18 22:30:11 +0200
  • 083468240d add: weekday support and fix start value of day and month - 1 starnakin 2024-09-18 21:55:49 +0200
  • ef75ad874d add: date cmd to shell starnakin 2024-09-18 21:45:18 +0200
  • c7545d5fc6 add: rtc support starnakin 2024-09-18 21:45:10 +0200
  • ddf3cfff68 feature: enable paging and load page directory 0x35c 2024-09-18 17:14:06 +0200
  • 65a59534b4 Merge branch 'main' of git.chauvet.pro:starnakin/42_KFS 0x35c 2024-09-17 13:58:10 +0200
  • e316910581 feature: clear added to the shell 0x35c 2024-09-17 13:57:52 +0200
  • e314ff97f7 apagna starnakin 2024-09-17 13:19:56 +0200
  • 2f14074e4b fix: print eip instead of ebp starnakin 2024-09-17 13:16:07 +0200
  • faed2a66f1 add: readme starnakin 2024-09-17 11:55:29 +0200
  • a02931a165 feature: print_stack working (dont use opti flags, else the stack is broken) 0x35c 2024-09-17 11:10:41 +0200
  • 963bf46b62 core: move reboot.c to a general power.c file feature: halt added 0x35c 2024-09-11 17:43:18 +0200
  • e7a8d39ad7 reboot is done 0x35c 2024-09-11 16:46:39 +0200
  • 52951c96d5 fix: merdella --credits is better now 0x35c 2024-09-11 16:25:23 +0200
  • bdfac39bc9 Merge branch 'main' of git.chauvet.pro:starnakin/42_KFS 0x35c 2024-09-11 15:52:22 +0200
  • 19141e6883 fix: screen switch now works well with the shell and its "history" 0x35c 2024-09-11 15:51:40 +0200
  • 08f7352a31 clean: remove useless struct starnakin 2024-09-10 21:39:52 +0200
  • 365ed0cc2e fix: gdt work I think starnakin 2024-09-10 21:36:28 +0200
  • bc99b99c82 Merge branch 'main' of git.chauvet.pro:starnakin/42_KFS 0x35c 2024-09-10 20:05:26 +0200
  • 15bdb4743a feature: functional shell with help and merdella commands TOOD: reboot, poweroff, echo, color 0x35c 2024-09-10 20:03:33 +0200
  • cc9aca2595 fix: gdt add stack starnakin 2024-09-10 16:37:30 +0200
  • 07ff7f6087 lib: add: memcmp starnakin 2024-09-10 16:37:18 +0200