From 5890df7bf838a5a912465a1bba02e5d8cf34e33c Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 2 Nov 2024 18:58:13 +0200 Subject: allow skipping some cache flushes in proc --- arch/riscv64/include/tcb.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/riscv64/include') 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; -- cgit v1.3