summaryrefslogtreecommitdiffstats
path: root/sys/riscv/include/pte.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/riscv/include/pte.h')
-rw-r--r--sys/riscv/include/pte.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/riscv/include/pte.h b/sys/riscv/include/pte.h
index 1331779..d15cb84 100644
--- a/sys/riscv/include/pte.h
+++ b/sys/riscv/include/pte.h
@@ -41,6 +41,7 @@
#ifndef LOCORE
typedef uint64_t pd_entry_t; /* page directory entry */
typedef uint64_t pt_entry_t; /* page table entry */
+typedef uint64_t pn_t; /* page number */
#endif
/* Level 0 table, 512GiB per entry */
OpenPOWER on IntegriCloud