Commit Graph

253 Commits

Author SHA1 Message Date
a776a45f68 add: documentation on the pde 2025-11-12 16:29:19 +01:00
34aa0f0eb4 wip: fork() 2025-11-12 15:07:36 +01:00
02d196fab5 core: remove unused function 2025-11-12 15:07:14 +01:00
2945de2e29 fix: create process copy kernel heap 2025-11-11 18:56:12 +01:00
f9832ff151 wip: context switch when switching to another process 2025-11-11 17:31:08 +01:00
e4f5a377a3 fix: multitasking now works with correct timer 2025-11-11 14:00:30 +01:00
0d7db61fb1 fix: clock_handler use pass right esp to the scheduler 2025-11-11 14:41:08 +01:00
9059901f70 wip: better way of handling thread switch (iret in the switch) 2025-11-11 11:13:35 +01:00
bf993baa59 wip: uncrampt the stack thing in the irq 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 2025-11-07 16:23:30 +01:00
d1364f5c1f clean: use toris(); instead of asm(sti) 2025-11-06 14:39:45 +01:00
4bc9dfa589 fix: block kernel excution 2025-11-06 14:39:11 +01:00
d12371d4a2 fix: add: threads to process 2025-11-06 14:38:49 +01:00
359484b2e4 fix: remove the kernel process and add a shell process (still not working tho) 2025-11-05 16:46:55 +01:00
374ea13173 wip: thread and processes handle 2025-11-05 16:19:21 +01:00
56cfe9f2be wip: handle new task creation 2025-11-04 12:40:42 +01:00
86ce44deff fix: color change is now working 2025-11-03 18:32:20 +01:00
a0185690cb wip: fix the color change 2025-11-03 17:44:48 +01:00
8496c78732 fix: terminal now works correctly with a bg color (brat) 2025-11-03 17:31:26 +01:00
38f56c46ef wip: fix terminal stuff 2025-11-03 17:19:03 +01:00
44f5d687b0 changed main to a signal demo 2025-04-21 20:50:39 +02:00
1f5a358b19 fix: make iso 2025-04-21 13:29:56 +02:00
e15f0af292 fix: kpanic clearing registers and hlt correctly 2025-04-21 13:23:56 +02:00
8e2017bd29 clean 2025-04-18 17:31:08 +02:00
11125325ca Merge branch 'main' of git.chauvet.pro:starnakin/42_KFS 2025-04-18 17:20:43 +02:00
81c54647d2 feature: clear registers when kpanic is called 2025-04-18 17:19:56 +02:00
fc79a47957 add signal api 2025-04-18 17:07:56 +02:00
6c8c158a1f core: add physical allocator (not supposed to work but smh kinda does) 2025-04-18 14:42:07 +02:00
65f08e3887 feature: layout command to change between us and fr layouts 2025-04-18 13:56:11 +02:00
a14cc5df28 clean: remove physical memory utils 2025-04-17 17:12:03 +02:00
2e09db2dd1 fix: memory is now working completely (size issue)
fix: reboot with invalid opcode
2025-04-17 15:09:22 +02:00
5e561bfa15 wip: multiple pds and switch to kernel pd when needed 2025-02-10 13:25:19 +01:00
8dd5373e7f wip: start to add multiple pd for each task 2025-02-07 15:48:13 +01:00
3b798e5daa core: remove bozo typedef for types 2025-02-07 12:35:32 +01:00
70739744ac fix: fault address always display 2025-02-07 11:30:12 +01:00
1e981755de fix: do not edit task if it's the current 2025-02-07 11:29:39 +01:00
3766464c47 add: zombify task 2025-02-07 11:28:22 +01:00
a9ed5947a8 clean: add '\n' 2025-02-04 11:57:54 +01:00
db4ed04dd6 fix: kpanic print address of the fault only when page fault occured 2025-02-04 11:57:43 +01:00
7b7cc86999 wip: multitasking: add status forked 2025-02-03 13:11:38 +01:00
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