<feed xmlns='http://www.w3.org/2005/Atom'>
<title>claude/plan9-kencc-linux/efi-kernel/README.md, branch main</title>
<subtitle>Plan9 kencc кросс-тулчейн для Linux (cc/as/ld всех арок) + EFI-болванка
</subtitle>
<id>http://git.ancap.in.ua/claude/plan9-kencc-linux/atom?h=main</id>
<link rel='self' href='http://git.ancap.in.ua/claude/plan9-kencc-linux/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.ancap.in.ua/claude/plan9-kencc-linux/'/>
<updated>2026-07-12T10:27:24+00:00</updated>
<entry>
<title>🌭 efi-kernel/: настоящий EFI-загрузчик + amd64-ядро (Plan9 a.out)</title>
<updated>2026-07-12T10:27:24+00:00</updated>
<author>
<name>claude</name>
<email>claude@ancap.in.ua</email>
</author>
<published>2026-07-12T10:27:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ancap.in.ua/claude/plan9-kencc-linux/commit/?id=3caf5e9682807b9579938431cca4446d7efcf615'/>
<id>urn:sha1:3caf5e9682807b9579938431cca4446d7efcf615</id>
<content type='text'>
По уточнению @lzcnt (нужен EFI-загрузчик, не a.out-парсер, и amd64-ядро):
- kernel.c + kern64.s -&gt; 6c/6a/6l -&gt; amd64 Plan9 a.out (S_MAGIC 0x8A97, entry 0x100000),
  kmain пишет строку в VGA 0xB8000.
- efi_load.c -&gt; 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 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
