From e890261f671a0573efbc024972d8769423fc82fc Mon Sep 17 00:00:00 2001 From: Marcelo Tosatti Date: Mon, 11 Oct 2010 15:31:19 -0300 Subject: Export qemu_ram_addr_from_host To be used by next patches. Signed-off-by: Marcelo Tosatti Signed-off-by: Avi Kivity --- exec-all.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exec-all.h') diff --git a/exec-all.h b/exec-all.h index 3a53fe6..c457058 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 -- cgit v1.1