summaryrefslogtreecommitdiff
path: root/doc/internal/mem.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/internal/mem.txt')
-rw-r--r--doc/internal/mem.txt23
1 files changed, 17 insertions, 6 deletions
diff --git a/doc/internal/mem.txt b/doc/internal/mem.txt
index 0819fb7..c5f5e8b 100644
--- a/doc/internal/mem.txt
+++ b/doc/internal/mem.txt
@@ -1,17 +1,28 @@
-0x0000.4000 - 0x0000.4003 (4): bootloader info
+0x0000.4000 - 0x0000.4007 (8): bootloader info
0x0 byte: support flags
0x80: PCI
+ 0x40: PAE
0x1 byte: PCI "hardware characteristics"
0x2 byte: PCI minor
0x3 byte: PCI major
0x4 byte: last PCI bus
-0x0000.4200 - 0x0000.42ff (256): VESA info
-0x0000.4300 - 0x0000.43ff (256): VBE strings
+ 0x6 word: BIOS memory map length
-0x0001.0000 - 0x0001.1fff (8k): memory map
+0x0000.4f98 - 0x0000.4fff (104): TSS
+0x0000.5000 - 0x0000.5fff (4k): kernel page directory
-0x0003.0000 - 0x0003.7fff (32k): kernel
+0x0001.0000 - 0x0001.ffff (64k): BIOS memory map
+
+0x0003.0000 - 0x0003.7fff (32k): kernel text, data, rodata
0x0003.8000 - 0x0003.ffff (32k): kernel stack
+0x0004.0000 - 0x0005.ffff (128k): pagemap
+
+0x000a.0000 - 0x000f.ffff (384k): VGA and BIOS memory
+
+0x0040.0000 - 0x007f.ffff (4M): kernel page tables
+
+0x00f0.0000 - 0x00ff.ffff (1M): ISA memory
-0x1000.0000 - 0x1fff.ffff (256M): dynamic memory \ No newline at end of file
+0x0400.0000 - 0x07ff.ffff (64M): kernel heap, bss pages
+0x0800.0000 - 0xffff.ffff (rest): user pages, hardware memory \ No newline at end of file