summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/pmap.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/arch/amd64/amd64/pmap.c b/sys/arch/amd64/amd64/pmap.c
index 108cd91..0f41e7a 100644
--- a/sys/arch/amd64/amd64/pmap.c
+++ b/sys/arch/amd64/amd64/pmap.c
@@ -224,6 +224,12 @@ pmap_new_vas(struct vas *res)
return 0;
}
+void
+pmap_destroy_vas(struct vas vas)
+{
+ vm_free_frame(vas.top_level, 1);
+}
+
struct vas
pmap_read_vas(void)
{