Updated Memory Manager (markdown)

master
Garrett Berg 2015-03-11 14:16:41 -06:00
rodzic 699262d42a
commit 7f2a467ea5
1 zmienionych plików z 10 dodań i 11 usunięć

@ -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
**What do these do? Why are they useful???**
BLOCK_SHIFT(block)
ATB_GET_KIND(block)
ATB_ANY_TO_FREE(block)
ATB_FREE_TO_HEAD(block)
ATB_FREE_TO_TAIL(block)
ATB_HEAD_TO_MARK(block)
ATB_MARK_TO_HEAD(block)
BLOCK_FROM_PTR(ptr)
PTR_FROM_BLOCK(block)
ATB_FROM_BLOCK(bl)
- BLOCK_SHIFT(block)
- ATB_GET_KIND(block)
- ATB_ANY_TO_FREE(block)
- ATB_FREE_TO_HEAD(block)
- ATB_FREE_TO_TAIL(block)
- ATB_HEAD_TO_MARK(block)
- ATB_MARK_TO_HEAD(block)
- BLOCK_FROM_PTR(ptr)
- PTR_FROM_BLOCK(block)
- ATB_FROM_BLOCK(bl)
## Questions
- Is there documentation for the above methods? I think that would help me understand what they do