about summary refs log tree commit diff stats
path: root/subx/069allocate.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-05-09 09:25:01 -0700
committerKartik Agaram <vc@akkartik.com>2019-05-09 09:25:01 -0700
commitfbc21293299f1d5b2d108e3ee98ea4e9083965b5 (patch)
tree31c5b683cbdeee9e4b32f402a3ec3b76e769aafa /subx/069allocate.subx
parent3ae1fd0048cb0745f570df0263a828a30315a00b (diff)
downloadmu-fbc21293299f1d5b2d108e3ee98ea4e9083965b5.tar.gz
5148
Snapshot of incomplete work to have the memory allocator use `mmap` rather
than `brk`. C tests pass, but the SubX layers are still broken.
Diffstat (limited to 'subx/069allocate.subx')
-rw-r--r--subx/069allocate.subx8
1 files changed, 0 insertions, 8 deletions
diff --git a/subx/069allocate.subx b/subx/069allocate.subx
index 402467fe..14e9fd50 100644
--- a/subx/069allocate.subx
+++ b/subx/069allocate.subx
@@ -16,14 +16,6 @@
 # very same 'allocate' helper. They just need a new allocation descriptor for
 # their book-keeping.
 
-== data
-
-# The 'global' allocation descriptor. Pass this into 'allocate' to claim a
-# hitherto unused bit of memory.
-Heap:
-    Start-of-heap/imm32  # curr
-    0x0b000000/imm32  # limit; keep sync'd with DATA_SEGMENT + SEGMENT_ALIGNMENT
-
 == code
 #   instruction                     effective address                                                   register    displacement    immediate
 # . op          subop               mod             rm32          base        index         scale       r32