diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-04-18 10:39:21 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-04-18 11:56:10 -0700 |
commit | 6e6e840e88a5d28067ac650fd5b6dc938cb53709 (patch) | |
tree | 733a9cb4406fdf41c50769c88a48983ce3e8daef | |
parent | d94821d301b5ea89221e8164382a03e72ac26851 (diff) | |
download | mu-6e6e840e88a5d28067ac650fd5b6dc938cb53709.tar.gz |
experiment: expand heap
-rw-r--r-- | 120allocate.subx | 2 | ||||
-rw-r--r-- | boot.subx | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/120allocate.subx b/120allocate.subx index 38c4110b..502271ff 100644 --- a/120allocate.subx +++ b/120allocate.subx @@ -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 diff --git a/boot.subx b/boot.subx index db36f88e..9110a8ba 100644 --- a/boot.subx +++ b/boot.subx @@ -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 |