[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH-for-9.0? 08/12] accel/tcg/tb-maint: Add comments around system em
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH-for-9.0? 08/12] accel/tcg/tb-maint: Add comments around system emulation |
Date: |
Wed, 13 Mar 2024 22:33:35 +0100 |
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
accel/tcg/tb-maint.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/accel/tcg/tb-maint.c b/accel/tcg/tb-maint.c
index da39a43bd8..2fef7db9e1 100644
--- a/accel/tcg/tb-maint.c
+++ b/accel/tcg/tb-maint.c
@@ -147,7 +147,8 @@ static PageForEachNext foreach_tb_next(PageForEachNext tb,
return NULL;
}
-#else
+#else /* !CONFIG_USER_ONLY */
+
/*
* In system mode we want L1_MAP to be based on ram offsets.
*/
@@ -1088,7 +1089,7 @@ bool tb_invalidate_phys_page_unwind(tb_page_addr_t addr,
uintptr_t pc)
}
return false;
}
-#else
+#else /* !CONFIG_USER_ONLY */
/*
* @p must be non-NULL.
* Call with all @pages locked.
@@ -1226,4 +1227,4 @@ void tb_invalidate_phys_range_fast(ram_addr_t ram_addr,
page_collection_unlock(pages);
}
-#endif /* CONFIG_USER_ONLY */
+#endif /* !CONFIG_USER_ONLY */
--
2.41.0
- Re: [PATCH-for-9.0? 03/12] gdbstub: Correct invalid mentions of 'softmmu' by 'system', (continued)
- [PATCH-for-9.0? 05/12] target/ppc: Rename init_excp_4xx_softmmu() -> init_excp_4xx(), Philippe Mathieu-Daudé, 2024/03/13
- [PATCH-for-9.1 06/12] tcg/sparc64: Check for USER_ONLY definition instead of SOFTMMU one, Philippe Mathieu-Daudé, 2024/03/13
- [PATCH-for-9.0? 04/12] gdbstub/system: Rename 'user_ctx' argument as 'ctx', Philippe Mathieu-Daudé, 2024/03/13
- [PATCH-for-9.1 07/12] plugins/api: Check for USER_ONLY definition instead of SOFTMMU one, Philippe Mathieu-Daudé, 2024/03/13
- [PATCH-for-9.0? 08/12] accel/tcg/tb-maint: Add comments around system emulation,
Philippe Mathieu-Daudé <=
- [PATCH-for-9.1 09/12] accel/tcg/internal: Check for USER_ONLY definition instead of SOFTMMU, Philippe Mathieu-Daudé, 2024/03/13
- [PATCH-for-9.1 10/12] exec/cpu-defs: Restrict SOFTMMU specific definitions to accel/tcg/, Philippe Mathieu-Daudé, 2024/03/13
- [PATCH-for-9.1 11/12] tcg: Remove unused CONFIG_SOFTMMU definition from libtcg_system.fa, Philippe Mathieu-Daudé, 2024/03/13
- [PATCH-for-9.1 12/12] exec/poison: Poison CONFIG_SOFTMMU again, Philippe Mathieu-Daudé, 2024/03/13