Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/psci/smccc.h
Show First 20 Lines • Show All 85 Lines • ▼ Show 20 Lines | |||||
int smccc_arch_workaround_1(void); | int smccc_arch_workaround_1(void); | ||||
int smccc_arch_workaround_2(int); | int smccc_arch_workaround_2(int); | ||||
int arm_smccc_smc(register_t, register_t, register_t, register_t, register_t, | int arm_smccc_smc(register_t, register_t, register_t, register_t, register_t, | ||||
register_t, register_t, register_t, struct arm_smccc_res *res); | register_t, register_t, register_t, struct arm_smccc_res *res); | ||||
int arm_smccc_hvc(register_t, register_t, register_t, register_t, register_t, | int arm_smccc_hvc(register_t, register_t, register_t, register_t, register_t, | ||||
register_t, register_t, register_t, struct arm_smccc_res *res); | register_t, register_t, register_t, struct arm_smccc_res *res); | ||||
struct arm_smccc_1_2_regs { | |||||
register_t a0; | |||||
register_t a1; | |||||
register_t a2; | |||||
register_t a3; | |||||
register_t a4; | |||||
register_t a5; | |||||
register_t a6; | |||||
register_t a7; | |||||
register_t a8; | |||||
register_t a9; | |||||
register_t a10; | |||||
register_t a11; | |||||
register_t a12; | |||||
register_t a13; | |||||
register_t a14; | |||||
register_t a15; | |||||
register_t a16; | |||||
register_t a17; | |||||
}; | |||||
int arm_smccc_1_2_hvc(const struct arm_smccc_1_2_regs *args, | |||||
andrew: Can you add the `arm_smccc_1_2_smc` definition? | |||||
struct arm_smccc_1_2_regs *res); | |||||
int arm_smccc_1_2_smc(const struct arm_smccc_1_2_regs *args, | |||||
struct arm_smccc_1_2_regs *res); | |||||
#endif /* _PSCI_SMCCC_H_ */ | #endif /* _PSCI_SMCCC_H_ */ |
Can you add the arm_smccc_1_2_smc definition?