Commit Graph

21 Commits

Author SHA1 Message Date
18486a6705 fix: infinite loop when scheduler call before create_kernel_task 2025-01-30 14:04:15 +01:00
c9a92819b4 fix: fork return pid instead uid 2025-01-30 10:47:36 +01:00
f75e121251 fix: fork: call scheduler before fork 2025-01-30 10:47:15 +01:00
9c89433db5 fix: task: use 8bit represent ptr instead of 32 to fix stack ptr 2025-01-29 13:30:42 +01:00
69686a2c91 fix: fork: set child espat the right postion 2025-01-29 12:41:57 +01:00
1ca8c68cf5 wip: fork and wait are almost working (missing child's stack) 2025-01-28 15:44:09 +01:00
e60969b37a fix: multitasking: switch to task 2025-01-28 15:10:13 +01:00
dbdf851dd2 feature: fork added and exit_task is almost working 2025-01-28 13:38:39 +01:00
d7626df19c core: change types from uint32_t to u32 (e.g) 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
2025-01-24 12:33:29 +01:00
dc84d5856b fix: switch to task: dereference variable rightly 2025-01-23 15:53:42 +01:00
19eea56a7e fix: switch to task: dereference variable rightly 2025-01-23 15:25:49 +01:00
8c63eac00e fix: no switch to task when only one task 2025-01-23 14:48:53 +01:00
d4db6acf61 fix: infinite loop when only one task 2025-01-23 14:27:28 +01:00
2d6b24842e fix: a bunch of stuff related to multitasking 2025-01-23 14:12:38 +01:00
24c7ea8b19 clean: remove useless code 2025-01-22 14:06:44 +01:00
57ce3c792d wip: multitasking: change eip but not working 2025-01-21 10:41:27 +01:00
d889a251ef add: kernel task 2025-01-20 15:11:22 +01:00
b3be29246e wip: eip saved after the interrupt 2025-01-20 14:36:43 +01:00
fa3ef311ad wip: scheduler needs to change eip or smth in order to call the fn 2025-01-17 12:56:05 +01:00
b9691b1948 wip: TSS added to the gdt and start to implement scheduler 2025-01-13 15:46:09 +01:00