aboutsummaryrefslogtreecommitdiff
path: root/machine/vm.h
diff options
context:
space:
mode:
Diffstat (limited to 'machine/vm.h')
-rw-r--r--machine/vm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/machine/vm.h b/machine/vm.h
index f51c639..dd9bf59 100644
--- a/machine/vm.h
+++ b/machine/vm.h
@@ -29,7 +29,7 @@ static inline pte_t pte_create(uintptr_t ppn, int type)
static inline pte_t ptd_create(uintptr_t ppn)
{
- return pte_create(ppn, PTE_TYPE_TABLE);
+ return pte_create(ppn, PTE_V);
}
#endif