From fbc21293299f1d5b2d108e3ee98ea4e9083965b5 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Thu, 9 May 2019 09:25:01 -0700 Subject: 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. --- subx/069allocate.subx | 8 -------- 1 file changed, 8 deletions(-) (limited to 'subx/069allocate.subx') 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 -- cgit 1.4.1-2-gfad0