aboutsummaryrefslogtreecommitdiff
path: root/include/arch/vmem.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2023-06-04 15:13:43 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2023-06-04 15:13:43 +0300
commit3dbd8c34176312b0bd3aba2309d284ac83181411 (patch)
tree9bf6216f2c120a388308457444738d0c55002bd2 /include/arch/vmem.h
parent52e5c94314fa8e10efded82db85d181ed32f00bd (diff)
downloadkmi-3dbd8c34176312b0bd3aba2309d284ac83181411.tar.gz
kmi-3dbd8c34176312b0bd3aba2309d284ac83181411.zip
visionfive2 boots
+ Make 8250 serial driver more generic + Still TODO: write a tutorial on how to boot on the visionfive2
Diffstat (limited to 'include/arch/vmem.h')
-rw-r--r--include/arch/vmem.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/arch/vmem.h b/include/arch/vmem.h
index d2f031d..118e6ff 100644
--- a/include/arch/vmem.h
+++ b/include/arch/vmem.h
@@ -98,7 +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 entry where associated with address \p addr. */
+/**
+ * Flush tlb entry where associated with address \p addr.
+ *
+ * @param addr Virtual address region to flush.
+ */
void flush_tlb(uintptr_t addr);
/** Flush full tlb of current address space. */