13 lines
368 B
C
13 lines
368 B
C
#pragma once
|
|
#include "stddef.h"
|
|
|
|
struct mmu_context;
|
|
|
|
int mmuContextSetup();
|
|
struct mmu_context *mmuContextCreate();
|
|
int mmuContextSyncKernelPDE(int pdEntry, void *pde, size_t pdeSize);
|
|
int mmuContextSwitch(struct mmu_context *ctx);
|
|
struct mmu_context *mmuContextGetCurrent();
|
|
int mmuContextRef(struct mmu_context *ctx);
|
|
int mmuContextUnref(struct mmu_context *ctx);
|