diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-02-06 19:46:14 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-02-06 19:46:14 +0000 |
commit | 1ccde1cb942f77958776578939bbcfc4c9bdf362 (patch) | |
tree | 9a7ff8a5b2779d220b28517ec3b8fa56e17362e5 /softmmu_template.h | |
parent | ad08132319713918a58b1ffa35a57431ed294888 (diff) | |
download | hqemu-1ccde1cb942f77958776578939bbcfc4c9bdf362.zip hqemu-1ccde1cb942f77958776578939bbcfc4c9bdf362.tar.gz |
added generic physical memory dirty bit support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@601 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'softmmu_template.h')
-rw-r--r-- | softmmu_template.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/softmmu_template.h b/softmmu_template.h index 2d3db62..2203c5a 100644 --- a/softmmu_template.h +++ b/softmmu_template.h @@ -76,14 +76,14 @@ static inline void glue(io_write, SUFFIX)(unsigned long physaddr, index = (tlb_addr >> IO_MEM_SHIFT) & (IO_MEM_NB_ENTRIES - 1); #if SHIFT <= 2 - io_mem_write[index][SHIFT](physaddr, val); + io_mem_write[index][SHIFT](physaddr, val, tlb_addr); #else #ifdef TARGET_WORDS_BIGENDIAN - io_mem_write[index][2](physaddr, val >> 32); - io_mem_write[index][2](physaddr + 4, val); + io_mem_write[index][2](physaddr, val >> 32, tlb_addr); + io_mem_write[index][2](physaddr + 4, val, tlb_addr); #else - io_mem_write[index][2](physaddr, val); - io_mem_write[index][2](physaddr + 4, val >> 32); + io_mem_write[index][2](physaddr, val, tlb_addr); + io_mem_write[index][2](physaddr + 4, val >> 32, tlb_addr); #endif #endif /* SHIFT > 2 */ } |