|
|
|
@ -2133,12 +2133,12 @@ MemTxResult address_space_write_rom(AddressSpace *as, hwaddr addr, |
|
|
|
#define SUFFIX |
|
|
|
#define ARG1 as |
|
|
|
#define ARG1_DECL AddressSpace *as |
|
|
|
#include "exec/memory_ldst.inc.h" |
|
|
|
#include "exec/memory_ldst.h.inc" |
|
|
|
|
|
|
|
#define SUFFIX |
|
|
|
#define ARG1 as |
|
|
|
#define ARG1_DECL AddressSpace *as |
|
|
|
#include "exec/memory_ldst_phys.inc.h" |
|
|
|
#include "exec/memory_ldst_phys.h.inc" |
|
|
|
|
|
|
|
struct MemoryRegionCache { |
|
|
|
void *ptr; |
|
|
|
@ -2179,7 +2179,7 @@ struct MemoryRegionCache { |
|
|
|
#define SUFFIX _cached_slow |
|
|
|
#define ARG1 cache |
|
|
|
#define ARG1_DECL MemoryRegionCache *cache |
|
|
|
#include "exec/memory_ldst.inc.h" |
|
|
|
#include "exec/memory_ldst.h.inc" |
|
|
|
|
|
|
|
/* Inline fast path for direct RAM access. */ |
|
|
|
static inline uint8_t address_space_ldub_cached(MemoryRegionCache *cache, |
|
|
|
@ -2205,15 +2205,15 @@ static inline void address_space_stb_cached(MemoryRegionCache *cache, |
|
|
|
} |
|
|
|
|
|
|
|
#define ENDIANNESS _le |
|
|
|
#include "exec/memory_ldst_cached.inc.h" |
|
|
|
#include "exec/memory_ldst_cached.h.inc" |
|
|
|
|
|
|
|
#define ENDIANNESS _be |
|
|
|
#include "exec/memory_ldst_cached.inc.h" |
|
|
|
#include "exec/memory_ldst_cached.h.inc" |
|
|
|
|
|
|
|
#define SUFFIX _cached |
|
|
|
#define ARG1 cache |
|
|
|
#define ARG1_DECL MemoryRegionCache *cache |
|
|
|
#include "exec/memory_ldst_phys.inc.h" |
|
|
|
#include "exec/memory_ldst_phys.h.inc" |
|
|
|
|
|
|
|
/* address_space_cache_init: prepare for repeated access to a physical
|
|
|
|
* memory region |
|
|
|
|