diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-04-23 21:10:07 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-05-18 00:44:47 -0700 |
commit | 2991108d6e21d610b50f7e286f1c320116d32883 (patch) | |
tree | 1b94c5a5830f93be6daa6d6336d2297e997c4c76 /069allocate.subx | |
parent | aa35d7a032fb46a811ae13a8b9ac6b8bcb0578ee (diff) | |
download | mu-2991108d6e21d610b50f7e286f1c320116d32883.tar.gz |
mu.subx: parse-type
Diffstat (limited to '069allocate.subx')
-rw-r--r-- | 069allocate.subx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/069allocate.subx b/069allocate.subx index 6da9fb81..01460466 100644 --- a/069allocate.subx +++ b/069allocate.subx @@ -15,12 +15,14 @@ # carve out chunks of memory and then allocate from them manually using this # very same 'allocate' helper. They just need a new allocation descriptor for # their book-keeping. -# -# Allocations are returned in a handle, which consists of an alloc-id and a payload. -# The alloc-id helps detect use-after-free errors. == data +# Allocations are returned in a handle, which consists of an alloc-id and a payload. +# The alloc-id helps detect use-after-free errors. +Handle-size: # (addr int) + 8/imm32 + # A default allocation descriptor for programs to use. Heap: # allocation-descriptor # curr |