From 76103215711d268b4b02f62e900f2be3032cf295 Mon Sep 17 00:00:00 2001 From: salmonik Date: Fri, 31 Jul 2026 02:18:30 +0200 Subject: Initial commit: raisernics toy kernel - Bare-metal x86_64 UEFI kernel (PE32+, no libc) - GOP framebuffer + 8x16 bitmap font - PS/2 keyboard (polling, scancode set 1) - UART 16550 serial driver (COM1, 115200 8N1) - Bump allocator as #[global_allocator] (alloc::String, Vec, format!) - UEFI memory map capture (static buffer, ADR 0001) - Shell with 7 commands (help, echo, clear, hello, info, mem, halt) - Dual output: GOP framebuffer + serial console - Makefile: run, run-gui, debug, release, image targets - tools/: qemu.sh, boot-image.sh, debug-kernel.py --- src/font.rs | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/font.rs (limited to 'src/font.rs') diff --git a/src/font.rs b/src/font.rs new file mode 100644 index 0000000..e188513 --- /dev/null +++ b/src/font.rs @@ -0,0 +1,5 @@ +/// 8×16 bitmap font. +/// +/// Glyphs are generated at build time by `build.rs` from the system PSF2 font +/// (`/usr/share/kbd/consolefonts/lat1-16.psfu.gz`). +include!(concat!(env!("OUT_DIR"), "/font_data.rs")); -- cgit v1.2.3