diff options
author | dzwdz | 2021-07-20 21:30:45 +0200 |
---|---|---|
committer | dzwdz | 2021-07-20 21:30:45 +0200 |
commit | 061363a38eff486c809d397e69ae4fe290db95d2 (patch) | |
tree | 3a00ebe1c0a90fbebb1ad18bc7c0457d8bb262ab /src/kernel/arch/i386 | |
parent | 2bd8511dbd19ec09aa92cec2888a5ec3c8b1fded (diff) |
rename pagedir_use() to pagedir_switch()
imo "use" was slightly misleading
Diffstat (limited to 'src/kernel/arch/i386')
-rw-r--r-- | src/kernel/arch/i386/pagedir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/arch/i386/pagedir.c b/src/kernel/arch/i386/pagedir.c index b52075d..8ab406d 100644 --- a/src/kernel/arch/i386/pagedir.c +++ b/src/kernel/arch/i386/pagedir.c @@ -88,6 +88,6 @@ void pagedir_map(struct pagedir *dir, void *virt, void *phys, }; } -void pagedir_use(struct pagedir *dir) { +void pagedir_switch(struct pagedir *dir) { asm volatile("mov %0, %%cr3;" : : "r" (dir) : "memory"); } |