Commit Graph

113 Commits

Author SHA1 Message Date
xamidev aa30d9c6b5 user program (still many #PF) 2026-04-02 17:05:51 +02:00
xamidev 11a9dd4adb Load limine module + alloc user stack 2026-04-01 15:51:04 +02:00
xamidev d644126901 TSS setup 2026-04-01 13:04:33 +02:00
xamidev 8be2a744b4 Refactor GDT entry filling 2026-04-01 11:44:57 +02:00
xamidev e9b57f70b1 End the _t nonsense 2026-04-01 09:15:59 +02:00
xamidev e8a0a36889 Enable FPU 2026-03-31 21:04:44 +02:00
xamidev 1fc5225fd2 kheap info 2026-03-31 17:48:11 +02:00
xamidev 2f1eef9e15 UBSan conditional compilation 2026-03-29 09:38:24 +02:00
xamidev 65371077d9 more UBsan 2026-03-28 21:50:19 +01:00
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 532953da4d CPU Name identification 2026-03-26 16:53:39 +01:00
xamidev ac788c55d3 Upgrade VMM for processes 2026-03-22 09:03:43 +01:00
xamidev 3ae56bbad5 Kernel debug shell 2026-03-21 11:34:46 +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 a1e8aacd01 improve README.md 2026-03-17 10:33:10 +01:00
xamidev ccc8985d4c Merge pull request 'Improve Makefile' (#15) from furtest/pepperOS:makefile into main
Reviewed-on: xamidev/pepperOS#15
2026-03-15 21:17:44 +01:00
xamidev 0482f594ef Flanterm back to bump alloc (allows earlier use for real hw debugging) 2026-03-15 21:11:47 +01:00
furtest b02a4b5284 Fix build-iso prerequisites 2026-03-15 18:05:24 +01:00
furtest 32f3889565 Move PHONY tags and fix clean
Move the PHONY tags to make them clearer to read.
Fix the clean rule so it deletes the build directory.
2026-03-15 18:01:35 +01:00
furtest 803ac0879b Auto find source files check for changes
Previously the build process removed everything and did all the build
again on each make invocation.
This fixes this behaviour with two changes.
First dynamically find the list of files to build using find instead of
a manually written list.
Then use implicit rules to only build files that need to be built again
instead of recompiling everything.
2026-03-15 17:56:26 +01:00
furtest 9fc55f98d8 Use variables for build and pepperk and rename build target.
Instead of hardcoding the names set them using a variable.
Also rename the target build to the name of the file it builds which is
in the ELFFILE variable.
2026-03-15 16:58:04 +01:00
furtest 11bd628821 Extract CC and LD to variables.
This allows to change the name of the compiler or linker when calling
make.
2026-03-15 16:57:29 +01:00
xamidev 80d8b49560 Merge pull request 'spinlock' (#14) from spinlock into main
Reviewed-on: xamidev/pepperOS#14
2026-03-15 09:55:45 +01:00
xamidev 22fea378b4 comments 2026-03-15 09:53:29 +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 6a3abb0f55 Read RFLAGS register at panic 2026-03-14 10:13:53 +01:00
xamidev 6ceccb2374 Merge pull request 'style' (#13) from style into main
Reviewed-on: xamidev/pepperOS#13
2026-03-14 09:34:00 +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 9d409317e2 DEBUG with Capital Letters 2026-03-11 15:24:45 +01:00
xamidev 1dd4e728d4 Build folder + coding style guidelines 2026-03-11 14:59:20 +01:00
xamidev b9c77a316a Add panic/stack trace display on fb for real hardware debug 2026-03-10 09:48:14 +01:00
xamidev 6fc28806e2 Merge pull request 'kbd_fix' (#12) from kbd_fix into main
Reviewed-on: xamidev/pepperOS#12
2026-03-09 09:30:42 +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 5e9c582833 Fixed kbd (buffer flush) 2026-03-08 09:54:45 +01:00
xamidev 77d9df6f48 Merge pull request 'flanterm' (#11) from flanterm into main
Reviewed-on: xamidev/pepperOS#11
2026-03-08 09:18:34 +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