aboutsummaryrefslogtreecommitdiff
path: root/include/arch
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2023-06-04 00:48:15 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2023-06-04 00:48:15 +0300
commit52e5c94314fa8e10efded82db85d181ed32f00bd (patch)
tree869dd5a01c24effe32266518d057c87106c73a44 /include/arch
parent3ace1ddd76b9c04f3ed23883de6279b4485612e8 (diff)
downloadkmi-52e5c94314fa8e10efded82db85d181ed32f00bd.tar.gz
kmi-52e5c94314fa8e10efded82db85d181ed32f00bd.zip
visionfive2 boots until debugging is initialized
Diffstat (limited to 'include/arch')
-rw-r--r--include/arch/vmem.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/arch/vmem.h b/include/arch/vmem.h
index 3f73a8f..d2f031d 100644
--- a/include/arch/vmem.h
+++ b/include/arch/vmem.h
@@ -98,8 +98,11 @@ stat_t mod_vpage(struct vmem *branch, vm_t vaddr, pm_t paddr, vmflags_t flags);
stat_t stat_vpage(struct vmem *branch, vm_t vaddr, pm_t *paddr,
enum mm_order *order, vmflags_t *flags);
-/** Flush tlb of current processor. */
-void flush_tlb();
+/** Flush tlb entry where associated with address \p addr. */
+void flush_tlb(uintptr_t addr);
+
+/** Flush full tlb of current address space. */
+void flush_tlb_full();
/** Flush tlbs of all processors. */
void flush_tlb_all();