summaryrefslogtreecommitdiff
path: root/src/kernel/arch/generic.h
diff options
context:
space:
mode:
authordzwdz2021-07-20 21:30:45 +0200
committerdzwdz2021-07-20 21:30:45 +0200
commit061363a38eff486c809d397e69ae4fe290db95d2 (patch)
tree3a00ebe1c0a90fbebb1ad18bc7c0457d8bb262ab /src/kernel/arch/generic.h
parent2bd8511dbd19ec09aa92cec2888a5ec3c8b1fded (diff)
rename pagedir_use() to pagedir_switch()
imo "use" was slightly misleading
Diffstat (limited to 'src/kernel/arch/generic.h')
-rw-r--r--src/kernel/arch/generic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/arch/generic.h b/src/kernel/arch/generic.h
index 7ce3d46..a535514 100644
--- a/src/kernel/arch/generic.h
+++ b/src/kernel/arch/generic.h
@@ -22,4 +22,4 @@ void sysenter_setup();
struct pagedir *pagedir_new();
void pagedir_map(struct pagedir *dir, void *virt, void *phys,
bool user, bool writeable);
-void pagedir_use(struct pagedir *);
+void pagedir_switch(struct pagedir *);