Commit Graph

277 Commits

Author SHA1 Message Date
5b25422f8d fix: memcpy not in the right order 2025-11-30 14:14:03 +01:00
afe83d5059 add: parentheses around param in PTE2VA 2025-11-30 15:10:51 +01:00
dbfa2febec fix: new_pt in deep_copy (still not working tho) 2025-11-30 13:45:12 +01:00
cde3702132 feature: fork() (to be tested) 2025-11-30 13:32:24 +01:00
6ff044c07a fix: get pd phys addr 2025-11-28 20:22:19 +01:00
700864cbf2 wip: allocate user process stack on the right PD 2025-11-28 19:16:54 +01:00
f9cb7a6a8a fix: use right var to prevent crash 2025-11-28 20:13:04 +01:00
24dce6e737 fix: setup recursive paging in process 2025-11-28 20:06:27 +01:00
d46fe337c1 fix: GET_PTE cast type 2025-11-28 19:25:16 +01:00
1992d7f79b fix: bzero page tables before use it, alloc return the right index 2025-11-28 19:24:40 +01:00
2308ef509c fix: GET_PTE uses the right value 2025-11-28 17:39:10 +01:00
3df6011d7a wip: user allocator 2025-11-28 17:36:10 +01:00
c6a5bf25c2 feature: reboot on space with kpanic 2025-11-28 16:35:40 +01:00
9c91830007 core: change multiboot pde 2025-11-28 16:22:55 +01:00
3c2c9b0a10 core: init_multiboot in main 2025-11-28 16:22:30 +01:00
674509a79e fix: init_mmap: use right addr 2025-11-28 16:22:03 +01:00
99ee5b8cec fix: add_frame_node: map enough page to write frame metadata 2025-11-28 16:21:28 +01:00
5591120deb core: setup recusive paging in boot.s 2025-11-28 16:20:31 +01:00
7819b4a02d fix: same thing for alloc_frames 2025-11-28 11:14:04 +01:00
9b1a0f9f4f fix: multiboot using unmapped pd 2025-11-28 11:12:14 +01:00
c33f8fc05d wip: change memory to use recursive paging 2025-11-28 11:08:28 +01:00
c5f8599d90 wip: kernel and virt allocator 2025-11-13 12:09:36 +01:00
d30e1e4582 Update documentation/memory.md 2025-11-13 04:54:35 -05:00
9f142941c3 wip: separate allocators into a kernel one and a user one 2025-11-12 16:04:16 +01:00
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