Commit Graph

58 Commits

Author SHA1 Message Date
xamidev 3cd38f654c Undefined Behavior Sanitization 2026-03-28 21:09:08 +01:00
xamidev 89259ec9b2 Stack Smashing Protection 2026-03-26 20:14:56 +01:00
xamidev 0fbaf6d26e Date functions (get current time) 2026-03-26 17:59:02 +01:00
xamidev ac788c55d3 Upgrade VMM for processes 2026-03-22 09:03:43 +01:00
xamidev db36899152 Add kprintf for DEBUG(); differentiated from printf() 2026-03-21 10:36:54 +01:00
xamidev 03f87723d1 Splash 2026-03-20 10:04:16 +01:00
xamidev 3607a7179c printf spinlock + remove DEPRECATED stuff + begin separating x86 stuff 2026-03-20 09:01:57 +01:00
xamidev 424b4c4632 Use MSR to map framebuffer as WC (write-combining) = huge speed diff on real HW 2026-03-19 19:34:31 +01:00
xamidev 6a82d581fb Fix PMM for real HW + serial lock 2026-03-19 16:54:23 +01:00
xamidev b77c53ae99 Keyboard buffer + getline 2026-03-18 13:07:26 +01:00
xamidev f7735eb3a4 Move headers to include/ 2026-03-18 11:48:33 +01:00
xamidev 0482f594ef Flanterm back to bump alloc (allows earlier use for real hw debugging) 2026-03-15 21:11:47 +01:00
xamidev 5eaf193d42 Fix panic/stack trace 2026-03-15 09:44:18 +01:00
xamidev af3a9e27fd Switch to nanoprintf + good spinlock (rflags) = no more FLANTERM ISSUES??? 2026-03-15 09:34:17 +01:00
xamidev e5c296238c Stack trace all black & void arg fix 2026-03-14 09:31:57 +01:00
xamidev 5c0d02579b void parameter on functions of arity 0 2026-03-13 17:21:52 +01:00
xamidev 8026c33639 Function comments (v1) 2026-03-13 12:51:29 +01:00
xamidev 8e2a612d88 Fix braces + init_paging args 2026-03-11 19:58:00 +01:00
xamidev b9c77a316a Add panic/stack trace display on fb for real hardware debug 2026-03-10 09:48:14 +01:00
xamidev 3f9b78b05e Scheduler returns to IDLE when.. idle. 2026-03-09 09:27:55 +01:00
xamidev 42c7a55d3f Init struct + freeing a bit of kmain() 2026-03-08 13:21:19 +01:00
xamidev 90dc26ee11 Flanterm support OK from kmain. No kbd. Writing from process = PF 2026-03-08 09:14:21 +01:00
xamidev c8a72244b1 remove old term support + PSFv1 font 2026-03-05 09:10:06 +01:00
xamidev b9f55d89f6 no more PF in kmain, but still PF in process OR corruption of fb 2026-03-05 08:08:50 +01:00
xamidev a7d9e70a61 Flanterm can write to fb but page fault before process creation. (BEFORE KHEAP UPDATE) 2026-03-04 12:21:20 +01:00
xamidev 9df33b49d8 flanterm PAGE FAULT, tries to access NULL or NULL+small offset 2026-03-02 11:32:24 +01:00
xamidev 1f055ab31c Flanterm integration? but page fault in flanterm_fb_double_buffer_flush 2026-02-22 18:27:57 +01:00
xamidev 9470dedb61 Stack trace with double linking to get symbol names 2026-02-21 19:28:17 +01:00
xamidev 4cf4fb0dda Task switching fix? but doesnt exit process gracefully 2026-02-20 16:01:34 +01:00
xamidev ac7216d84a Setup kernel stack; but process is failing 2026-02-17 23:01:32 +01:00
xamidev 458ba375f3 better panic 2026-02-07 02:18:15 +01:00
xamidev 8aad1235c3 A bit of cleaning 2026-02-06 14:39:19 +01:00
xamidev 38710653be Config header file + comment header 2026-02-06 13:59:46 +01:00
xamidev 7f997f6611 alloc_stack ok (HHDM mapped from mmap) 2026-02-05 21:18:21 +01:00
xamidev 7bb542d901 bump-allocated PID but kheap needs fix to kmalloc more than PAGE_SIZE 2026-02-02 11:05:27 +01:00
xamidev 4a90de9521 10ms Round Robin scheduler (blank processes) 2026-02-01 11:25:43 +01:00
xamidev c46157fad0 Process linked list 2026-01-31 14:13:48 +01:00
xamidev b8a155fada Who cares 2026-01-25 09:51:28 +01:00
xamidev 091f94f89e Broken term scrolling 2026-01-10 14:43:51 +01:00
xamidev 12ab12f1b2 serial Kernel panic 2026-01-10 09:45:20 +01:00
xamidev 0f72987bc1 use boot_ctx 2026-01-04 11:18:20 +01:00
xamidev d9dfd4c749 version splash 2026-01-04 11:00:30 +01:00
xamidev e18b73c8a0 Small kernel heap for VMM internals, kmalloc/kfree 2026-01-03 13:48:10 +01:00
xamidev c065df6ff3 Paging: mapped kernel, fb, early-mem, HHDM 2026-01-02 13:40:44 +01:00
xamidev bb5fb9db33 Cleaner include paths + some paging definitions 2026-01-02 11:24:24 +01:00
xamidev 05a862e97a PMM: init (find biggest usable region) 2025-12-31 12:02:41 +01:00
xamidev 8f5e2eae3e First steps: getting memory map from Limine request and looking at it 2025-12-30 21:33:38 +01:00
xamidev 834891fd2a DEBUG fix 2025-12-28 12:32:29 +01:00
xamidev 3853a1ace3 Efficient DEBUG logging system with __FILE__ and fctprintf 2025-12-28 12:15:32 +01:00
xamidev ead0ed6ae1 Folder restructuration 2025-12-28 11:39:39 +01:00