expand heap to Qemu default

This commit is contained in:
Kartik Agaram 2021-04-25 08:08:47 -07:00
parent 9c3e2821c1
commit 8185a605c6
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ Heap: # allocation-descriptor
# curr
0x01000000/imm32 # 16 MB
# limit
0x02000000/imm32 # 32 MB
0x08000000/imm32 # 128 MB is how much RAM Qemu models by default
Next-alloc-id: # int
0x100/imm32 # save a few alloc ids for fake handles

View File

@ -17,8 +17,8 @@
# 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)
# see 120allocate.subx
# heap: [0x01000000, 0x08000000)
# see 120allocate.subx; Qemu initializes with 128MB RAM by default
# Consult https://wiki.osdev.org/Memory_Map_(x86) before modifying any of
# this. And don't forget to keep *stack-debug.subx in sync.