experiment: expand heap

This commit is contained in:
Kartik K. Agaram 2021-04-18 10:39:21 -07:00
parent d94821d301
commit 6e6e840e88
2 changed files with 4 additions and 3 deletions

View File

@ -28,7 +28,7 @@ Heap: # allocation-descriptor
# curr
0x01000000/imm32 # 16 MB
# limit
0x02000000/imm32 # 32 MB
0xc0000000/imm32 # 64 MB
Next-alloc-id: # int
0x100/imm32 # save a few alloc ids for fake handles

View File

@ -17,9 +17,10 @@
# Memory map of a Mu computer:
# code: currently 4 tracks loaded from the primary disk to [0x00007c00, 0x00048600)
# stack: grows down from 0x00070000
# heap: [0x01000000, 0x02000000)
# heap: [0x01000000, 0xc0000000)
# see 120allocate.subx
# Consult https://wiki.osdev.org/Memory_Map_(x86) before modifying any of this.
# Consult https://wiki.osdev.org/Memory_Map_(x86) before modifying any of
# this. And don't forget to keep *stack-debug.subx in sync.
== code