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-10 16:54:05 -0700
committerGitHub <noreply@github.com>2019-05-10 16:54:05 -0700
commit1ebb7614921a2b426ed84c4c51b100176e2a4187 (patch)
tree12de1a20312a788d07ef6564084b7ca81aa15ba1 /subx/069allocate.subx
parent3ae1fd0048cb0745f570df0263a828a30315a00b (diff)
parentc88b9e31259d433c7e63fcb19d430daf9b1c723c (diff)
downloadmu-1ebb7614921a2b426ed84c4c51b100176e2a4187.tar.gz
Merge pull request #28 from akkartik/allocate-using-mmap
Build `allocate` out of `mmap`
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