aboutsummaryrefslogtreecommitdiff
path: root/include/apos/pmem.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/apos/pmem.h')
-rw-r--r--include/apos/pmem.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/apos/pmem.h b/include/apos/pmem.h
index 0f58e1c..2ff817d 100644
--- a/include/apos/pmem.h
+++ b/include/apos/pmem.h
@@ -3,11 +3,8 @@
#include <apos/mem.h>
#include <apos/types.h>
+#include <arch/pmem.h>
-/* arch */
-int arch_pmem_conf(void *fdt, size_t *max_order, size_t *base_bits, size_t bits[ORDERS_NUM]);
-
-/* common */
void update_pmap(pm_t offset);
void free_page(enum mm_order order, pm_t paddr);
void mark_used(enum mm_order order, pm_t paddr);