Commit Graph

13 Commits

Author SHA1 Message Date
karina 08248e3f3c WIP: modules 2026-05-03 15:49:40 +04:00
karina 2c7396353c Readme and license 2026-05-03 13:05:55 +04:00
karina 359eaeb405 fix(VMM): use correct APTable encoding for table descriptors
fix(VMM): use correct APTable encoding for table descriptors

fix(vmm): changed flags to match ARMv8
2026-05-03 10:47:15 +04:00
karina 6dd68f8162 fix: plug memory map leak, save sp_el0, dynamic UART, kill loop
- Bootloader: reallocate memory map buffer when ExitBootServices fails,
  so GetMemoryMap doesn't scribble past the old allocation on retry.
- vectors.S: actually store sp_el0 into the exception frame. Previously
  it was read into x24 and then… vanished. EL0 tasks would wake up with
  a corrupted stack pointer. Not great.
- Serial: split hardcoded 0x09000000 into a fallback default; add
  SerialUpdate() so the DTB-parsed UART address actually gets used.
- DTB: add bounds check on reserved[] with PMM's 3 extra slots accounted
  for, so malformed/overstuffed DTBs don't silently corrupt memory.
- PMM.h: bump kVMMaxReservedRegions 128→256, define kPMMReservedRegionCount.
- Types.h: remove `#define loop while(1)`. while(true) is fine.
- Rename IOSerial* → Serial* — the IO prefix was redundant, Serial.c
  already lives under IO/.
2026-05-03 00:32:30 +04:00
karina b56b55e4b3 feat(arm64): higher-half kernel, early MMU in boot, and VMM 2026-04-26 21:47:41 +04:00
karina 6698c4ab3f feat: kernel is now elf 2026-04-26 09:32:07 +04:00
karina 14912b8067 build: switched to ninja 2026-04-25 10:01:31 +04:00
karina a331d395d5 refactor: drop posix-uefi from bootloader
Replace the vendored POSIX-UEFI runtime with a small local EFI entry and header so the bootloader depends only on the UEFI interfaces it actually uses.

Made-with: Cursor
2026-04-20 23:03:36 +04:00
karina b33f63635b build: CMake toolchain for Kernel
build: moved CMake toolchain for Bootloader from Source folder to root of Bootloader
2026-04-20 09:38:27 +04:00
karina 1ee5dcbd0b feat: working bootloader and basic kernel (just dyes screen green) 2026-04-20 08:31:04 +04:00
karina c533478e76 working build of bootloader 2026-04-20 05:20:27 +04:00
Karina 67838d2702 doc: just default recipe is now just --list
also image > _image
2026-04-19 23:51:09 +04:00
Karina 4f47a61ed2 initial 2026-04-19 20:12:59 +04:00