Commit Graph

17 Commits

Author SHA1 Message Date
793b24a994 Kernel: Use x86_64::instructions::port for port IO 2022-11-01 12:46:21 +01:00
3477df7bde Restructure IDT locking 2022-11-01 12:38:11 +01:00
327fa0bd0c Kernel: Guard the IDT behind a mutex 2022-11-01 12:34:15 +01:00
21c5ef0822 Actually, we can protect the GDT behind a proper mutex 2022-11-01 12:19:48 +01:00
f362e0e6f4 Kernel/x86_64: Add GDT initialization under a portable cpu::platform_init interface 2022-11-01 11:43:10 +01:00
739fa56ece Kernel: Add double fault handler 2022-11-01 11:11:33 +01:00
b4914c26fe Kernel: Prevent deadlocks when panicking 2022-11-01 11:11:20 +01:00
06c7bbac0d Kernel: Make a portable wrapper for the breakpoint instruction 2022-11-01 11:10:55 +01:00
d2fb4a68ca Kernel: Add basic interrupt handling 2022-11-01 10:55:54 +01:00
523130a69e Kernel: Add try_print! and try_println! 2022-11-01 10:55:42 +01:00
6a41c4fc4e Kernel: Make get_bootboot return a reference to avoid continuously copying data 2022-11-01 10:54:46 +01:00
a08a53c7f0 Add IO and Serial 2022-10-31 17:32:33 +01:00
d49823d5d0 video: Add support for BGRA framebuffers 2022-10-31 16:39:20 +01:00
70d78d86be Kernel: Add CPU functions in a portable way 2022-10-31 16:18:05 +01:00
9c09fe7cec init: add a check_magic function 2022-10-31 14:34:32 +01:00
9902506264 video: Add a Color enum to make it easier to work with colors 2022-10-31 14:34:09 +01:00
a26dabaa5a Let's get Rusty!! 2022-10-31 14:02:12 +01:00