aboutsummaryrefslogtreecommitdiff
path: root/cpu-all.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-10-30 20:48:42 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-10-30 20:48:42 +0000
commitaab33094073678d459ccaac5c60ea7533e8d1d8e (patch)
treeebd6aa5359709496091f7a092beee2ad06aa0fcb /cpu-all.h
parent05f3fb8de34098a1ff08c30e8a3d575c6f6f2cae (diff)
downloadqemu-aab33094073678d459ccaac5c60ea7533e8d1d8e.zip
qemu-aab33094073678d459ccaac5c60ea7533e8d1d8e.tar.gz
qemu-aab33094073678d459ccaac5c60ea7533e8d1d8e.tar.bz2
more physical memory access functions
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1587 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-all.h')
-rw-r--r--cpu-all.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpu-all.h b/cpu-all.h
index 4f1f772..be42bc9 100644
--- a/cpu-all.h
+++ b/cpu-all.h
@@ -735,9 +735,15 @@ static inline void cpu_physical_memory_write(target_phys_addr_t addr,
{
cpu_physical_memory_rw(addr, (uint8_t *)buf, len, 1);
}
+uint32_t ldub_phys(target_phys_addr_t addr);
+uint32_t lduw_phys(target_phys_addr_t addr);
uint32_t ldl_phys(target_phys_addr_t addr);
+uint64_t ldq_phys(target_phys_addr_t addr);
void stl_phys_notdirty(target_phys_addr_t addr, uint32_t val);
+void stb_phys(target_phys_addr_t addr, uint32_t val);
+void stw_phys(target_phys_addr_t addr, uint32_t val);
void stl_phys(target_phys_addr_t addr, uint32_t val);
+void stq_phys(target_phys_addr_t addr, uint64_t val);
int cpu_memory_rw_debug(CPUState *env, target_ulong addr,
uint8_t *buf, int len, int is_write);