mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-02-25 10:36:56 +00:00
cpu-defs: Move CPU_TEMP_BUF_NLONGS to tcg
The usages of this define are pure TCG and there is no architecture specific variation of the value. Localise it to the TCG engine to remove another architecture agnostic piece from cpu-defs.h. This follows on from a28177820a868eafda8fab007561cc19f41941f4 where temp_buf was moved out of the CPU_COMMON obsoleting the need for the super early definition. Backports commit 6e0b07306d1793e8402dd218d2e38a7377b5fc27 from qemu
This commit is contained in:
parent
5c7389680e
commit
a591219ad6
|
@ -179,9 +179,6 @@ typedef struct CPUIOTLBEntry {
|
|||
|
||||
#endif
|
||||
|
||||
|
||||
#define CPU_TEMP_BUF_NLONGS 128
|
||||
|
||||
// Unicorn engine
|
||||
// @invalid_addr: invalid memory access address
|
||||
// @invalid_error: error code for memory access (1 = READ, 2 = WRITE)
|
||||
|
|
|
@ -32,6 +32,8 @@
|
|||
|
||||
#include "uc_priv.h"
|
||||
|
||||
#define CPU_TEMP_BUF_NLONGS 128
|
||||
|
||||
/* Default target word size to pointer size. */
|
||||
#ifndef TCG_TARGET_REG_BITS
|
||||
# if UINTPTR_MAX == UINT32_MAX
|
||||
|
|
Loading…
Reference in a new issue