kv2: add paging
this also fixes up a bunch of formatting, adding the type vaddr_t Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
This commit is contained in:
parent
27a7f3de75
commit
d6873d6c7a
18 changed files with 130 additions and 66 deletions
|
|
@ -10,7 +10,10 @@
|
|||
#define MB (KB * KB)
|
||||
#define GB (MB * MB)
|
||||
|
||||
typedef uintptr_t paddr_t;
|
||||
|
||||
typedef uintptr_t vaddr_t;
|
||||
typedef uint32_t vaddr32_t;
|
||||
typedef vaddr_t paddr_t;
|
||||
typedef uint32_t paddr32_t;
|
||||
typedef int64_t ssize_t;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue