aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv64/include/tcb.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-11-02 18:58:13 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2024-11-02 18:58:13 +0200
commit5890df7bf838a5a912465a1bba02e5d8cf34e33c (patch)
tree48c17acfc5ed2b44bff817b00123288098273ecc /arch/riscv64/include/tcb.h
parent5531e2eaaa2fd1dd282dba2fb5bc10e09dfec5e0 (diff)
downloadkmi-5890df7bf838a5a912465a1bba02e5d8cf34e33c.tar.gz
kmi-5890df7bf838a5a912465a1bba02e5d8cf34e33c.zip
allow skipping some cache flushes in proc
Diffstat (limited to 'arch/riscv64/include/tcb.h')
-rw-r--r--arch/riscv64/include/tcb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/riscv64/include/tcb.h b/arch/riscv64/include/tcb.h
index f0cce37..b3baf46 100644
--- a/arch/riscv64/include/tcb.h
+++ b/arch/riscv64/include/tcb.h
@@ -19,6 +19,9 @@ struct arch_tcbd {
/** RPC stack page table leaf node. */
struct vmem *rpc_leaf;
+ /** O1 page that contains the whole stack */
+ pm_t rpc_page;
+
/** Index into \p rpc_leaf with the lowest accessed page so far in a
* certain context. */
int rpc_idx;