From e0fbf5ca9599cb7599731fe48573e97d05fa38da Mon Sep 17 00:00:00 2001 From: Alejandro Sior Date: Tue, 26 Jul 2022 14:06:40 +0200 Subject: mem/vmap: add basic virtual memory management abstraction --- mem/framer.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mem/framer.h') 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 -- cgit v1.2.3