feat/kernel: new vallocat API
This commit is contained in:
parent
3b8639467f
commit
f83961432e
3 changed files with 65 additions and 1 deletions
|
@ -38,6 +38,7 @@ typedef struct vctx
|
|||
vctx_t *vinit(uint64_t *pm, uint64_t start);
|
||||
void vdestroy(vctx_t *ctx);
|
||||
void *valloc(vctx_t *ctx, size_t pages, uint64_t flags);
|
||||
void *vallocat(vctx_t *ctx, size_t pages, uint64_t flags, uint64_t phys);
|
||||
void vfree(vctx_t *ctx, void *ptr);
|
||||
|
||||
#endif // VMM_H
|
Loading…
Add table
Add a link
Reference in a new issue