From 347a1a0eeb5aa84e287e443a468a47a0fafd153f Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 23 Jun 2024 19:01:29 -0400 Subject: kernel/amd64: pmap: Add function to create new VAS Signed-off-by: Ian Moffett --- sys/include/vm/pmap.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sys/include') diff --git a/sys/include/vm/pmap.h b/sys/include/vm/pmap.h index ec669a8..dccfe0d 100644 --- a/sys/include/vm/pmap.h +++ b/sys/include/vm/pmap.h @@ -51,6 +51,11 @@ struct vas pmap_read_vas(void); */ void pmap_switch_vas(struct vas vas); +/* + * Create a new virtual address space. + */ +int pmap_new_vas(struct vas *res); + /* * Create a virtual memory mapping of a single page. */ -- cgit v1.2.3