diff options
| author | salmonik <salmonik@tuta.io> | 2026-07-31 02:58:31 +0200 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-07-31 02:58:31 +0200 |
| commit | 6a5c32fa6ae8ec34e3e5b44d7e5a78ded8fe729b (patch) | |
| tree | ed59a5bd59a94b3a731b28c68c507f18afc44b0b /rsnix/src/font.rs | |
| parent | auto-version all strings from Cargo.toml via env!("CARGO_PKG_VERSION") (diff) | |
| download | rs-dos-6a5c32fa6ae8ec34e3e5b44d7e5a78ded8fe729b.tar.gz rs-dos-6a5c32fa6ae8ec34e3e5b44d7e5a78ded8fe729b.zip | |
restructure: rsnix kernel + shell crate + rsdos entry point
Architecture:
rs-dos/ (workspace root, was raisernics/)
├── rsnix/ — kernel lib crate (uefi, serial, gop, ps2, interrupts, memory)
├── shell/ — shell lib crate (prompt, commands, line input)
├── rsdos/ — binary crate (efi_main, init, panic handler)
└── rsboot/ — future git submodule
No functional changes — boots to shell prompt identically.
Version auto-pulled from Cargo.toml via env!("CARGO_PKG_VERSION").
Diffstat (limited to 'rsnix/src/font.rs')
| -rw-r--r-- | rsnix/src/font.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rsnix/src/font.rs b/rsnix/src/font.rs new file mode 100644 index 0000000..e188513 --- /dev/null +++ b/rsnix/src/font.rs | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | /// 8×16 bitmap font. | ||
| 2 | /// | ||
| 3 | /// Glyphs are generated at build time by `build.rs` from the system PSF2 font | ||
| 4 | /// (`/usr/share/kbd/consolefonts/lat1-16.psfu.gz`). | ||
| 5 | include!(concat!(env!("OUT_DIR"), "/font_data.rs")); | ||
