summaryrefslogtreecommitdiff
path: root/kernel/memory/memory.h
blob: 2657fc75981ca26f016972fc338988ac42629efe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <comus/memory.h>
#include "virtalloc.h"

struct mem_ctx_s {
	// page tables
	volatile char *pml4;
	// virt addr allocator
	struct virt_ctx virtctx;
	// linked list
	struct mem_ctx_s *next;
	struct mem_ctx_s *prev;
};