apio pushed to main at apio/Luna 2022-11-02 18:52:10 +00:00
42a805fd60 Kernel: Move the translated keyboard to /dev/console and make /dev/kbd provide raw scancodes
apio pushed to main at apio/Luna 2022-11-02 18:38:30 +00:00
c604c074a1 Kernel: Rename ASSERT() to ensure()
apio pushed to main at apio/Luna 2022-11-02 18:32:49 +00:00
e5cf32c7b3 Kernel: Introduce page ownership
apio pushed to main at apio/Luna 2022-11-02 17:54:02 +00:00
875d971d3b Tools: Make list-ports.sh exit when ports.list does not exist
apio pushed to main at apio/Luna 2022-11-02 17:40:20 +00:00
dfcc827103 libc: Add PROT_EXEC
07e518c38f Kernel: Make sys_mmap log the correct prot value
Compare 2 commits »
apio pushed to main at apio/Luna 2022-11-02 17:35:17 +00:00
22740e69bf Kernel: Add support for the NX bit
apio pushed to main at apio/sapphire 2022-11-02 07:15:53 +00:00
179294a91a Error: Add a throw_error variant to report compiler bugs :)
apio pushed to main at apio/sapphire 2022-11-01 21:29:41 +00:00
a0945e54b2 Update tests
9713e9b239 AST: Reorder constructors
70f564fe58 Error: Add reminder FIXME
f8d76c9bea Result: Reorder constructors
2cb477447e Lexer, Parser: Reorder constructors and use ssize_t for signed indices
Compare 8 commits »
apio pushed to rusty-moon at apio/Luna 2022-11-01 14:00:44 +00:00
ad4a83f0a4 Kernel: Add a timer and keyboard interface
apio pushed to rusty-moon at apio/Luna 2022-11-01 11:46:36 +00:00
793b24a994 Kernel: Use x86_64::instructions::port for port IO
apio pushed to rusty-moon at apio/Luna 2022-11-01 11:38:25 +00:00
3477df7bde Restructure IDT locking
apio pushed to rusty-moon at apio/Luna 2022-11-01 11:34:30 +00:00
327fa0bd0c Kernel: Guard the IDT behind a mutex
apio pushed to rusty-moon at apio/Luna 2022-11-01 11:20:04 +00:00
21c5ef0822 Actually, we can protect the GDT behind a proper mutex
apio pushed to rusty-moon at apio/Luna 2022-11-01 10:49:20 +00:00
f29161fd0b Remove Cargo.lock
apio pushed to rusty-moon at apio/Luna 2022-11-01 10:43:30 +00:00
f362e0e6f4 Kernel/x86_64: Add GDT initialization under a portable cpu::platform_init interface
896ee2d7e9 tools: make some scripts executable
Compare 2 commits »
apio pushed to rusty-moon at apio/Luna 2022-11-01 10:11:48 +00:00
739fa56ece Kernel: Add double fault handler
b4914c26fe Kernel: Prevent deadlocks when panicking
06c7bbac0d Kernel: Make a portable wrapper for the breakpoint instruction
Compare 3 commits »
apio pushed to rusty-moon at apio/Luna 2022-11-01 09:56:21 +00:00
d2fb4a68ca Kernel: Add basic interrupt handling
523130a69e Kernel: Add try_print! and try_println!
6a41c4fc4e Kernel: Make get_bootboot return a reference to avoid continuously copying data
Compare 3 commits »
apio pushed to rusty-moon at apio/Luna 2022-10-31 16:44:50 +00:00
75219763da update spin to 0.9.4
apio pushed to rusty-moon at apio/Luna 2022-10-31 16:32:52 +00:00
a08a53c7f0 Add IO and Serial
apio pushed to rusty-moon at apio/Luna 2022-10-31 15:39:35 +00:00
d49823d5d0 video: Add support for BGRA framebuffers