diff options
| author | Alejandro Sior <aho@sior.be> | 2022-07-26 14:06:40 +0200 |
|---|---|---|
| committer | Alejandro Sior <aho@sior.be> | 2022-07-26 14:06:40 +0200 |
| commit | e0fbf5ca9599cb7599731fe48573e97d05fa38da (patch) | |
| tree | 2c3b3925c49fd2da68086c6cb4b06a891e823bd5 /mem/framer.h | |
| parent | c4e9a8ba15391ae5f1c820744ff1b03544d63467 (diff) | |
mem/vmap: add basic virtual memory management abstraction
Diffstat (limited to 'mem/framer.h')
| -rw-r--r-- | mem/framer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mem/framer.h b/mem/framer.h index 6d7034b..e2a6945 100644 --- a/mem/framer.h +++ b/mem/framer.h @@ -5,6 +5,8 @@ #include "allocator.h" +/* Represents a free frame as part of the freelist, this is done + in order to avoid having to do annoying casts */ typedef struct mem_framer_freed { struct mem_framer_freed *next; } MemFramerFreed; @@ -24,7 +26,7 @@ typedef struct mem_framer { the freelist NOTE: the freelist is a singly-linked list comprising all frames that have been previously allocated - and then freed */ + and then freed */ MemFramerFreed *free; /* The size of a frame. This value also defines the alignment |
