experiment: expand heap
This commit is contained in:
parent
d94821d301
commit
6e6e840e88
|
@ -28,7 +28,7 @@ Heap: # allocation-descriptor
|
||||||
# curr
|
# curr
|
||||||
0x01000000/imm32 # 16 MB
|
0x01000000/imm32 # 16 MB
|
||||||
# limit
|
# limit
|
||||||
0x02000000/imm32 # 32 MB
|
0xc0000000/imm32 # 64 MB
|
||||||
|
|
||||||
Next-alloc-id: # int
|
Next-alloc-id: # int
|
||||||
0x100/imm32 # save a few alloc ids for fake handles
|
0x100/imm32 # save a few alloc ids for fake handles
|
||||||
|
|
|
@ -17,9 +17,10 @@
|
||||||
# Memory map of a Mu computer:
|
# Memory map of a Mu computer:
|
||||||
# code: currently 4 tracks loaded from the primary disk to [0x00007c00, 0x00048600)
|
# code: currently 4 tracks loaded from the primary disk to [0x00007c00, 0x00048600)
|
||||||
# stack: grows down from 0x00070000
|
# stack: grows down from 0x00070000
|
||||||
# heap: [0x01000000, 0x02000000)
|
# heap: [0x01000000, 0xc0000000)
|
||||||
# see 120allocate.subx
|
# 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
|
== code
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue