Updated Memory Manager (markdown)

Garrett Berg 2015-03-11 14:16:41 -06:00
parent 699262d42a
commit 7f2a467ea5
1 changed files with 10 additions and 11 deletions

@ -34,17 +34,16 @@ ATB_MASK_N -- Get the relevant bytes for ATB table N
ATB_N_IS_FREE(a) -- Determine whether table N is currently free ATB_N_IS_FREE(a) -- Determine whether table N is currently free
**What do these do? Why are they useful???** **What do these do? Why are they useful???**
BLOCK_SHIFT(block) - BLOCK_SHIFT(block)
ATB_GET_KIND(block) - ATB_GET_KIND(block)
ATB_ANY_TO_FREE(block) - ATB_ANY_TO_FREE(block)
ATB_FREE_TO_HEAD(block) - ATB_FREE_TO_HEAD(block)
ATB_FREE_TO_TAIL(block) - ATB_FREE_TO_TAIL(block)
ATB_HEAD_TO_MARK(block) - ATB_HEAD_TO_MARK(block)
ATB_MARK_TO_HEAD(block) - ATB_MARK_TO_HEAD(block)
- BLOCK_FROM_PTR(ptr)
BLOCK_FROM_PTR(ptr) - PTR_FROM_BLOCK(block)
PTR_FROM_BLOCK(block) - ATB_FROM_BLOCK(bl)
ATB_FROM_BLOCK(bl)
## Questions ## Questions
- Is there documentation for the above methods? I think that would help me understand what they do - Is there documentation for the above methods? I think that would help me understand what they do