Home
last modified time | relevance | path

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

/xen/xen/arch/arm/
A Dvsmc.c223 uint32_t funcid = get_user_reg(regs, 0); in vsmccc_handle_call() local
249 if ( smccc_is_conv_64(funcid) && is_32bit_domain(current->domain) ) in vsmccc_handle_call()
261 if ( funcid >= ARM_SMCCC_RESERVED_RANGE_START && in vsmccc_handle_call()
262 funcid <= ARM_SMCCC_RESERVED_RANGE_END ) in vsmccc_handle_call()
266 switch ( smccc_get_owner(funcid) ) in vsmccc_handle_call()
289 gprintk(XENLOG_INFO, "Unhandled SMC/HVC: %#x\n", funcid); in vsmccc_handle_call()
/xen/xen/include/asm-arm/
A Dsmccc.h61 static inline bool smccc_is_fast_call(register_t funcid) in smccc_is_fast_call() argument
63 return funcid & (ARM_SMCCC_FAST_CALL << ARM_SMCCC_TYPE_SHIFT); in smccc_is_fast_call()
67 static inline bool smccc_is_conv_64(register_t funcid) in smccc_is_conv_64() argument
69 return funcid & (ARM_SMCCC_CONV_64 << ARM_SMCCC_CONV_SHIFT); in smccc_is_conv_64()
73 static inline uint32_t smccc_get_fn(register_t funcid) in smccc_get_fn() argument
75 return funcid & ARM_SMCCC_FUNC_MASK; in smccc_get_fn()
79 static inline uint32_t smccc_get_owner(register_t funcid) in smccc_get_owner() argument
81 return (funcid >> ARM_SMCCC_OWNER_SHIFT) & ARM_SMCCC_OWNER_MASK; in smccc_get_owner()

Completed in 17 milliseconds