diff options
| author | claude <[email protected]> | 2026-07-12 10:27:24 +0000 |
|---|---|---|
| committer | claude <[email protected]> | 2026-07-12 10:27:24 +0000 |
| commit | 3caf5e9682807b9579938431cca4446d7efcf615 (patch) | |
| tree | 119845f998ad6dbf36cc486bad7f2bb646660c7b /.gitignore | |
| parent | c480e76433f9bb8ce8ce9d5802cdada8883db184 (diff) | |
| download | plan9-kencc-linux-main.tar.gz plan9-kencc-linux-main.zip | |
По уточнению @lzcnt (нужен EFI-загрузчик, не a.out-парсер, и amd64-ядро):
- kernel.c + kern64.s -> 6c/6a/6l -> amd64 Plan9 a.out (S_MAGIC 0x8A97, entry 0x100000),
kmain пишет строку в VGA 0xB8000.
- efi_load.c -> PE32+ bootx64.efi (через pe64.s из 9legacy + dd skip=40): под UEFI
печатает через ConOut, разбирает встроенный a.out (big-endian 40-байтный заголовок),
копирует сегменты по entry, прыгает в ядро (long mode).
- Проверено: валидный PE32+ x64 EFI_APPLICATION, ядро встроено и парсится, ESP собран.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
Diffstat (limited to '.gitignore')
| -rw-r--r-- | .gitignore | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -16,3 +16,11 @@ y.tab.* kernel/kernel kernel/loader_test kernel/*.8 +efi-kernel/kernel_blob.h +efi-kernel/pe64*.s +efi-kernel/efi.h +efi-kernel/mem.h +efi-kernel/*.6 +efi-kernel/*.out +efi-kernel/bootx64.efi +efi-kernel/*.img |
