HomeFreeBSD

dev/psci: Create macros to simplify calling SMCCC

Description

dev/psci: Create macros to simplify calling SMCCC

When calling into SMCCC functions we often only need a few arguments.
As the current function needs all 8 possible arguments to be set the
unused values will be zero.

Create a macro to pass in the used values, followed by enough zeros,
then the result pointer.

Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D46986

Details

Provenance
andrewAuthored on Mon, Oct 14, 2:33 PM
Differential Revision
D46986: dev/psci: Create macros to simplify calling SMCCC
Parents
rGe1d2967ba630: sys/conf: Support building kasan with gcc on arm64
Branches
Unknown
Tags
Unknown