Home
last modified time | relevance | path

Searched refs:guest_base (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/include/user/
H A Dguest-host.h44 return (void *)((uintptr_t)(x) + guest_base); in g2h_untagged()
63 ((uintptr_t)(x) - guest_base <= guest_addr_max)
66 uintptr_t __ret = (uintptr_t)(x) - guest_base; \
H A Dguest-base.h14 extern uintptr_t guest_base;
/openbmc/qemu/linux-user/
H A Dmain.c82 uintptr_t guest_base; variable
368 guest_base = strtol(arg, NULL, 0); in handle_arg_guest_base()
990 fprintf(f, "guest_base %p\n", (void *)guest_base); in main()
H A Delfload.c928 if (!QEMU_IS_ALIGNED(guest_base, align)) { in pgb_fixed()
931 (void *)guest_base, align); in pgb_fixed()
935 if (!pgb_addr_set(&ga, guest_loaddr, guest_hiaddr, !guest_base) in pgb_fixed()
936 || !pgb_try_mmap_set(&ga, guest_base, brk)) { in pgb_fixed()
1031 guest_base = 0; in pgb_dynamic()
1076 guest_base = ret; in pgb_dynamic()
1114 assert(QEMU_IS_ALIGNED(guest_base, align)); in probe_guest_base()
1116 "@ 0x%" PRIx64 "\n", (uint64_t)guest_base); in probe_guest_base()
/openbmc/qemu/tcg/sparc64/
H A Dtcg-target.c.inc993 if (guest_base != 0) {
995 guest_base, true, TCG_REG_T1);
1177 h->base = guest_base ? TCG_GUEST_BASE_REG : TCG_REG_G0;
/openbmc/qemu/tcg/loongarch64/
H A Dtcg-target.c.inc1121 h->index = guest_base ? TCG_GUEST_BASE_REG : TCG_REG_ZERO;
2632 if (!tcg_use_softmmu && guest_base) {
2633 tcg_out_movi(s, TCG_TYPE_PTR, TCG_GUEST_BASE_REG, guest_base);
/openbmc/qemu/tcg/s390x/
H A Dtcg-target.c.inc2072 if (guest_base < 0x80000) {
2074 h->disp = guest_base;
3800 if (!tcg_use_softmmu && guest_base >= 0x80000) {
3801 tcg_out_movi(s, TCG_TYPE_PTR, TCG_GUEST_BASE_REG, guest_base);
/openbmc/qemu/tcg/riscv/
H A Dtcg-target.c.inc1781 if (guest_base != 0) {
2962 if (!tcg_use_softmmu && guest_base) {
2963 tcg_out_movi(s, TCG_TYPE_PTR, TCG_GUEST_BASE_REG, guest_base);