Skip to content

Commit 3e0f587

Browse files
committed
mm: expose vmmPageStatus() and sbrk()
1 parent 0778769 commit 3e0f587

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/include/kernel/memory.h

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include <stdint.h>
1212
#include <stdbool.h>
1313
#include <kernel/boot.h>
14+
#include <kernel/sched.h>
1415

1516
/* this must be defined on a platform-specific basis */
1617
/* it defines the page size and other necessary attributes for paging */
@@ -64,3 +65,5 @@ uintptr_t vmmAllocate(uintptr_t, uintptr_t, size_t, int);
6465
int vmmFree(uintptr_t, size_t);
6566
int vmmPageFault(uintptr_t, int); // the platform-specific page fault handler must call this
6667
uintptr_t vmmMMIO(uintptr_t, bool);
68+
int vmmPageStatus(uintptr_t, uintptr_t *);
69+
void *sbrk(Thread *, intptr_t);

0 commit comments

Comments
 (0)