1
0
Fork 0

feat/kernel: new vallocat API

This commit is contained in:
Kevin Alavik 2025-05-16 18:28:40 +02:00
parent 3b8639467f
commit f83961432e
Signed by: cmpsb
GPG key ID: 10D1CC0526FDC6D7
3 changed files with 65 additions and 1 deletions

View file

@ -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