From 094e8c288a88db8a349492085381347ccdafc391 Mon Sep 17 00:00:00 2001 From: andromeda Date: Wed, 4 Mar 2026 22:45:35 +0100 Subject: use long mode, x86_64-unknown-none works now --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 11c5569..52a1395 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ run with `nix run git+https://git.mtgmonkey.net/andromeda/bootler#bootler` +------ 0x00100000 ------+ | hardware, bios stuff | +------ 0x00080000 ------+ -| pm stack (esp) | from boot.asm +| free | +------ 0x00010200 ------+ | kernel (kernel.asm) | +------ 0x00010000 ------+ @@ -24,7 +24,17 @@ run with `nix run git+https://git.mtgmonkey.net/andromeda/bootler#bootler` +------ 0x00007E00 ------+ | bootloader (boot.asm) | +------ 0x00007C00 ------+ -| real mode stack (sp) | from boot.asm +| stack | TODO get real stack ++------ 0x00005000 ------+ +| PT | ++------ 0x00004000 ------+ +| PDT | ++------ 0x00003000 ------+ +| PDPT | ++------ 0x00002000 ------+ +| PML4T | ++------ 0x00001000 ------+ +| free | +------ 0x00000500 ------+ | bios stuff | +------ 0x00000000 ------+ -- cgit v1.3.1