diff options
Diffstat (limited to 'sys/include/vm/pmap.h')
-rw-r--r-- | sys/include/vm/pmap.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/include/vm/pmap.h b/sys/include/vm/pmap.h index cfcf28c..4d7a06f 100644 --- a/sys/include/vm/pmap.h +++ b/sys/include/vm/pmap.h @@ -45,6 +45,20 @@ */ #include <machine/vas.h> +#include <vm/tlsf.h> +#include <sys/types.h> +#include <sys/spinlock.h> + +/* + * vm_ctx - Per core virtual memory context + */ +struct vm_ctx { + uintptr_t dynalloc_pool_phys; + size_t dynalloc_pool_sz; /* In bytes */ + tlsf_t tlsf_ctx; + struct spinlock dynalloc_lock; +}; + /* * Read virtual address space descriptor * and return it. |