diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2010-10-11 15:31:19 -0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-10-20 16:15:04 -0500 |
commit | e890261f671a0573efbc024972d8769423fc82fc (patch) | |
tree | 4aa3d674b99b7726cc7b90e38f282662c8e7bda1 /exec-all.h | |
parent | e7701825e17d74913b0f1585d523cedaf1d6632a (diff) | |
download | qemu-e890261f671a0573efbc024972d8769423fc82fc.tar.gz qemu-e890261f671a0573efbc024972d8769423fc82fc.tar.bz2 qemu-e890261f671a0573efbc024972d8769423fc82fc.zip |
Export qemu_ram_addr_from_host
To be used by next patches.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'exec-all.h')
-rw-r--r-- | exec-all.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exec-all.h b/exec-all.h index 3a53fe64c2..c4570587d7 100644 --- a/exec-all.h +++ b/exec-all.h @@ -334,7 +334,7 @@ static inline tb_page_addr_t get_page_addr_code(CPUState *env1, target_ulong add } p = (void *)(unsigned long)addr + env1->tlb_table[mmu_idx][page_index].addend; - return qemu_ram_addr_from_host(p); + return qemu_ram_addr_from_host_nofail(p); } #endif |