make unicorn use the physical addresses
This allows to emulate code witch fully uses the MMU. This is necesary to allow full system emulation.
This commit is contained in:
@@ -77,9 +77,9 @@ typedef uint64_t target_ulong;
|
||||
#define CPU_VTLB_SIZE 8
|
||||
|
||||
#if HOST_LONG_BITS == 32 && TARGET_LONG_BITS == 32
|
||||
#define CPU_TLB_ENTRY_BITS 4
|
||||
#else
|
||||
#define CPU_TLB_ENTRY_BITS 5
|
||||
#else
|
||||
#define CPU_TLB_ENTRY_BITS 6
|
||||
#endif
|
||||
|
||||
#define CPU_TLB_DYN_MIN_BITS 6
|
||||
@@ -112,6 +112,7 @@ typedef struct CPUTLBEntry {
|
||||
target_ulong addr_read;
|
||||
target_ulong addr_write;
|
||||
target_ulong addr_code;
|
||||
target_ulong paddr;
|
||||
/* Addend to virtual address to get host address. IO accesses
|
||||
use the corresponding iotlb value. */
|
||||
uintptr_t addend;
|
||||
|
||||
Reference in New Issue
Block a user