Lines Matching +full:architecturally +full:- +full:defined
2 * Copyright (C) 2014 - Linaro
21 #include "exec/helper-proto.h"
22 #include "kvm-consts.h"
23 #include "qemu/main-loop.h"
26 #include "arm-powerctl.h"
34 * whether we should treat it as a PSCI call or with the architecturally in arm_is_psci_call()
35 * defined behaviour for an SMC or HVC (which might be UNDEF or trap in arm_is_psci_call()
41 if (cpu->psci_conduit != QEMU_PSCI_CONDUIT_HVC) { in arm_is_psci_call()
46 if (cpu->psci_conduit != QEMU_PSCI_CONDUIT_SMC) { in arm_is_psci_call()
67 CPUARMState *env = &cpu->env; in arm_handle_psci_call()
76 * All PSCI functions take explicit 32-bit or native int sized in arm_handle_psci_call()
77 * arguments so we can simply zero-extend all arguments regardless in arm_handle_psci_call()
80 param[i] = is_a64(env) ? env->xregs[i] : env->regs[i]; in arm_handle_psci_call()
112 ret = target_cpu->power_state; in arm_handle_psci_call()
168 env->xregs[0] = 0; in arm_handle_psci_call()
170 env->regs[0] = 0; in arm_handle_psci_call()
212 env->xregs[0] = ret; in arm_handle_psci_call()
214 env->regs[0] = ret; in arm_handle_psci_call()