mirror of
https://github.com/yuzu-mirror/unicorn.git
synced 2026-04-04 22:17:46 +00:00
tcg: Add EXCP_ATOMIC
When we cannot emulate an atomic operation within a parallel context, this exception allows us to stop the world and try again in a serial context. Backports commit fdbc2b5722f6092e47181a947c90fd4bdcc1c121 from qemu Also backports parts of commit 02d57ea115b7669f588371c86484a2e8ebc369be
This commit is contained in:
parent
d5510a546f
commit
e35aacd5ae
22 changed files with 138 additions and 0 deletions
|
|
@ -210,6 +210,8 @@ struct uc_struct {
|
|||
|
||||
/* code generation context */
|
||||
void *tcg_ctx; // for "TCGContext tcg_ctx" in qemu/translate-all.c
|
||||
bool parallel_cpus; // for "bool parallel_cpus" in qemu/translate-all.c
|
||||
|
||||
/* memory.c */
|
||||
unsigned memory_region_transaction_depth;
|
||||
bool memory_region_update_pending;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue