Commit Graph

  • 0d828c8067 wip: switch current_pcb and cr3 in switch_thread main 0x35c 2025-11-30 14:54:17 +01:00
  • 274113a401 core: refactor fork function 0x35c 2025-11-30 14:30:04 +01:00
  • 896a0a04f9 fix: set content to the new thread_list node fix: copy child to the current_pcb 0x35c 2025-11-30 14:24:33 +01:00
  • 5b25422f8d fix: memcpy not in the right order 0x35c 2025-11-30 14:14:03 +01:00
  • afe83d5059 add: parentheses around param in PTE2VA Starnakin 2025-11-30 15:10:51 +01:00
  • dbfa2febec fix: new_pt in deep_copy (still not working tho) 0x35c 2025-11-30 13:45:12 +01:00
  • cde3702132 feature: fork() (to be tested) 0x35c 2025-11-30 13:32:24 +01:00
  • 6ff044c07a fix: get pd phys addr Starnakin 2025-11-28 20:22:19 +01:00
  • 700864cbf2 wip: allocate user process stack on the right PD 0x35c 2025-11-28 19:16:32 +01:00
  • f9cb7a6a8a fix: use right var to prevent crash Starnakin 2025-11-28 20:13:04 +01:00
  • 24dce6e737 fix: setup recursive paging in process Starnakin 2025-11-28 20:06:27 +01:00
  • d46fe337c1 fix: GET_PTE cast type Starnakin 2025-11-28 19:25:16 +01:00
  • 1992d7f79b fix: bzero page tables before use it, alloc return the right index Starnakin 2025-11-28 19:24:40 +01:00
  • 2308ef509c fix: GET_PTE uses the right value 0x35c 2025-11-28 17:39:10 +01:00
  • 3df6011d7a wip: user allocator 0x35c 2025-11-28 17:36:10 +01:00
  • c6a5bf25c2 feature: reboot on space with kpanic 0x35c 2025-11-28 16:35:40 +01:00
  • 9c91830007 core: change multiboot pde Starnakin 2025-11-28 16:22:55 +01:00
  • 3c2c9b0a10 core: init_multiboot in main Starnakin 2025-11-28 16:22:30 +01:00
  • 674509a79e fix: init_mmap: use right addr Starnakin 2025-11-28 16:22:03 +01:00
  • 99ee5b8cec fix: add_frame_node: map enough page to write frame metadata Starnakin 2025-11-28 16:21:28 +01:00
  • 5591120deb core: setup recusive paging in boot.s Starnakin 2025-11-28 16:20:31 +01:00
  • 7819b4a02d fix: same thing for alloc_frames 0x35c 2025-11-28 11:14:04 +01:00
  • 9b1a0f9f4f fix: multiboot using unmapped pd 0x35c 2025-11-28 11:12:14 +01:00
  • c33f8fc05d wip: change memory to use recursive paging 0x35c 2025-11-28 11:08:28 +01:00
  • c5f8599d90 wip: kernel and virt allocator 0x35c 2025-11-13 12:09:36 +01:00
  • d30e1e4582 Update documentation/memory.md starnakin 2025-11-13 04:54:35 -05:00
  • 9f142941c3 wip: separate allocators into a kernel one and a user one 0x35c 2025-11-12 16:02:52 +01:00
  • a776a45f68 add: documentation on the pde Starnakin 2025-11-12 16:29:13 +01:00
  • 34aa0f0eb4 wip: fork() 0x35c 2025-11-12 15:07:36 +01:00
  • 02d196fab5 core: remove unused function 0x35c 2025-11-12 15:07:14 +01:00
  • 2945de2e29 fix: create process copy kernel heap Starnakin 2025-11-11 18:56:12 +01:00
  • f9832ff151 wip: context switch when switching to another process 0x35c 2025-11-11 17:31:08 +01:00
  • e4f5a377a3 fix: multitasking now works with correct timer 0x35c 2025-11-11 14:00:30 +01:00
  • 0d7db61fb1 fix: clock_handler use pass right esp to the scheduler Starnakin 2025-11-11 14:41:08 +01:00
  • 9059901f70 wip: better way of handling thread switch (iret in the switch) 0x35c 2025-11-11 11:13:35 +01:00
  • bf993baa59 wip: uncrampt the stack thing in the irq 0x35c 2025-11-07 16:58:11 +01:00
  • a3a226ad95 fix: thread switch gets back into the isr routine but iret does not return to the correct frame 0x35c 2025-11-07 16:23:30 +01:00
  • d1364f5c1f clean: use toris(); instead of asm(sti) Starnakin 2025-11-06 14:39:45 +01:00
  • 4bc9dfa589 fix: block kernel excution Starnakin 2025-11-06 14:39:11 +01:00
  • d12371d4a2 fix: add: threads to process Starnakin 2025-11-06 14:38:49 +01:00
  • 359484b2e4 fix: remove the kernel process and add a shell process (still not working tho) 0x35c 2025-11-05 16:46:55 +01:00
  • 374ea13173 wip: thread and processes handle 0x35c 2025-11-05 16:19:21 +01:00
  • 56cfe9f2be wip: handle new task creation 0x35c 2025-11-04 12:40:42 +01:00
  • 86ce44deff fix: color change is now working 0x35c 2025-11-03 18:32:20 +01:00
  • a0185690cb wip: fix the color change 0x35c 2025-11-03 17:44:48 +01:00
  • 8496c78732 fix: terminal now works correctly with a bg color (brat) 0x35c 2025-11-03 17:31:26 +01:00
  • 38f56c46ef wip: fix terminal stuff 0x35c 2025-11-03 17:19:03 +01:00
  • 44f5d687b0 changed main to a signal demo 0x35c 2025-04-21 20:50:39 +02:00
  • 1f5a358b19 fix: make iso starnakin 2025-04-21 13:29:56 +02:00
  • e15f0af292 fix: kpanic clearing registers and hlt correctly starnakin 2025-04-21 13:23:56 +02:00
  • 8e2017bd29 clean starnakin 2025-04-18 17:31:08 +02:00
  • 11125325ca Merge branch 'main' of git.chauvet.pro:starnakin/42_KFS 0x35c 2025-04-18 17:20:43 +02:00
  • 81c54647d2 feature: clear registers when kpanic is called 0x35c 2025-04-18 17:19:56 +02:00
  • fc79a47957 add signal api starnakin 2025-04-18 17:07:56 +02:00
  • 6c8c158a1f core: add physical allocator (not supposed to work but smh kinda does) 0x35c 2025-04-18 14:42:07 +02:00
  • 65f08e3887 feature: layout command to change between us and fr layouts 0x35c 2025-04-18 13:56:11 +02:00
  • a14cc5df28 clean: remove physical memory utils vboxuser 2025-04-17 17:12:03 +02:00
  • 2e09db2dd1 fix: memory is now working completely (size issue) fix: reboot with invalid opcode 0x35c 2025-04-17 15:09:22 +02:00
  • 5e561bfa15 wip: multiple pds and switch to kernel pd when needed 0x35c 2025-02-10 13:25:19 +01:00
  • 8dd5373e7f wip: start to add multiple pd for each task 0x35c 2025-02-07 15:48:13 +01:00
  • 3b798e5daa core: remove bozo typedef for types 0x35c 2025-02-07 12:35:32 +01:00
  • 70739744ac fix: fault address always display Starnakin 2025-02-07 11:30:12 +01:00
  • 1e981755de fix: do not edit task if it's the current Starnakin 2025-02-07 11:29:39 +01:00
  • 3766464c47 add: zombify task Starnakin 2025-02-07 11:28:22 +01:00
  • a9ed5947a8 clean: add '\n' Starnakin 2025-02-04 11:57:54 +01:00
  • db4ed04dd6 fix: kpanic print address of the fault only when page fault occured Starnakin 2025-02-04 11:57:43 +01:00
  • 7b7cc86999 wip: multitasking: add status forked Starnakin 2025-02-03 13:11:38 +01:00
  • 18486a6705 fix: infinite loop when scheduler call before create_kernel_task Starnakin 2025-01-30 14:04:15 +01:00
  • c9a92819b4 fix: fork return pid instead uid Starnakin 2025-01-30 10:47:36 +01:00
  • f75e121251 fix: fork: call scheduler before fork Starnakin 2025-01-30 10:47:15 +01:00
  • 9c89433db5 fix: task: use 8bit represent ptr instead of 32 to fix stack ptr Starnakin 2025-01-29 13:30:42 +01:00
  • 69686a2c91 fix: fork: set child espat the right postion Starnakin 2025-01-29 12:41:57 +01:00
  • 1ca8c68cf5 wip: fork and wait are almost working (missing child's stack) 0x35c 2025-01-28 15:44:09 +01:00
  • e60969b37a fix: multitasking: switch to task Starnakin 2025-01-28 15:10:13 +01:00
  • dbdf851dd2 feature: fork added and exit_task is almost working 0x35c 2025-01-28 13:38:39 +01:00
  • d7626df19c core: change types from uint32_t to u32 (e.g) 0x35c 2025-01-27 11:26:15 +01:00
  • 95fec015f2 fix: simple multitasking work !!!! add a stack at every task, and execute task while multitasking switching Starnakin 2025-01-24 12:33:29 +01:00
  • dc84d5856b fix: switch to task: dereference variable rightly Starnakin 2025-01-23 15:53:42 +01:00
  • 19eea56a7e fix: switch to task: dereference variable rightly Starnakin 2025-01-23 15:25:49 +01:00
  • 8c63eac00e fix: no switch to task when only one task Starnakin 2025-01-23 14:48:53 +01:00
  • d4db6acf61 fix: infinite loop when only one task Starnakin 2025-01-23 14:26:44 +01:00
  • 540226fb0f Merge branch 'main' of git.chauvet.pro:starnakin/42_KFS 0x35c 2025-01-23 14:13:04 +01:00
  • 2d6b24842e fix: a bunch of stuff related to multitasking 0x35c 2025-01-23 14:12:38 +01:00
  • 494a0f425c add: bzero Starnakin 2025-01-22 14:44:12 +01:00
  • 2ba4037af2 core: add debug flags to use gdb 0x35c 2025-01-22 14:41:41 +01:00
  • 7ba3eead14 core: change main debug func Starnakin 2025-01-22 14:06:34 +01:00
  • 35b73e8004 clean: remove useless code Starnakin 2025-01-22 14:06:09 +01:00
  • 4ec1a4962d fix: (maybe): remove gdt address Starnakin 2025-01-22 14:04:35 +01:00
  • 24c7ea8b19 clean: remove useless code Starnakin 2025-01-22 14:04:09 +01:00
  • d2f7a3ce26 repo: add .txt (for logs) in .gitignore 0x35c 2025-01-22 14:04:20 +01:00
  • 57ce3c792d wip: multitasking: change eip but not working Starnakin 2025-01-21 10:41:27 +01:00
  • d889a251ef add: kernel task Starnakin 2025-01-20 15:11:22 +01:00
  • b3be29246e wip: eip saved after the interrupt 0x35c 2025-01-20 14:36:43 +01:00
  • 2fe4ac5ad5 Merge branch 'main' of git.chauvet.pro:starnakin/42_KFS 0x35c 2025-01-17 12:56:30 +01:00
  • fa3ef311ad wip: scheduler needs to change eip or smth in order to call the fn 0x35c 2025-01-17 12:56:05 +01:00
  • 02c3d72a4b core: add set variable in static Starnakin 2025-01-16 13:43:14 +01:00
  • b9691b1948 wip: TSS added to the gdt and start to implement scheduler 0x35c 2025-01-13 15:46:09 +01:00
  • 916e8b6f19 add: sleep Starnakin 2025-01-08 16:38:02 +01:00
  • bab3069152 feature: line spacing + characters are aligned 0x35c 2024-12-19 19:04:43 +01:00
  • 61debdcb85 fix: autocomplete working again (ratio starnakin) and clean some stuff 0x35c 2024-12-19 11:03:09 +01:00