Home
last modified time | relevance | path

Searched refs:GUEST_BASE (Results 1 – 2 of 2) sorted by relevance

/external/qemu/include/exec/
Dcpu-all.h194 #define GUEST_BASE guest_base macro
197 #define GUEST_BASE 0ul macro
202 #define g2h(x) ((void *)((unsigned long)(target_ulong)(x) + GUEST_BASE))
208 unsigned long __guest = (unsigned long)(x) - GUEST_BASE; \
215 unsigned long __ret = (unsigned long)(x) - GUEST_BASE; \
/external/qemu/tcg/i386/
Dtcg-target.c1332 if (arch_prctl(ARCH_SET_GS, GUEST_BASE) == 0) { in setup_guest_base_seg()
1457 int32_t offset = GUEST_BASE; in tcg_out_qemu_ld()
1466 if (GUEST_BASE && guest_base_flags) { in tcg_out_qemu_ld()
1469 } else if (TCG_TARGET_REG_BITS == 64 && offset != GUEST_BASE) { in tcg_out_qemu_ld()
1470 tcg_out_movi(s, TCG_TYPE_I64, TCG_REG_L1, GUEST_BASE); in tcg_out_qemu_ld()
1579 int32_t offset = GUEST_BASE; in tcg_out_qemu_st()
1588 if (GUEST_BASE && guest_base_flags) { in tcg_out_qemu_st()
1591 } else if (TCG_TARGET_REG_BITS == 64 && offset != GUEST_BASE) { in tcg_out_qemu_st()
1592 tcg_out_movi(s, TCG_TYPE_I64, TCG_REG_L1, GUEST_BASE); in tcg_out_qemu_st()
2158 if (GUEST_BASE) { in tcg_target_qemu_prologue()