aboutsummaryrefslogtreecommitdiff
path: root/include/arch/pmem.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/arch/pmem.h')
-rw-r--r--include/arch/pmem.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/arch/pmem.h b/include/arch/pmem.h
new file mode 100644
index 0000000..1772b36
--- /dev/null
+++ b/include/arch/pmem.h
@@ -0,0 +1,11 @@
+#ifndef APOS_ARCH_PMEM_H
+#define APOS_ARCH_PMEM_H
+
+#include <apos/mem.h> /* NUM_ORDERS */
+#include <apos/types.h>
+#include <pmem.h>
+
+stat_t stat_pmem_conf(void *fdt, size_t *max_order,
+ size_t *base_bits, size_t bits[NUM_ORDERS]);
+
+#endif /* APOS_ARCH_PMEM_H */