Page MenuHomeFreeBSD

dev/psci: Create macros to simplify calling SMCCC
ClosedPublic

Authored by andrew on Oct 7 2024, 4:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 3, 8:33 PM
Unknown Object (File)
Mon, Nov 3, 8:33 PM
Unknown Object (File)
Mon, Nov 3, 8:31 PM
Unknown Object (File)
Mon, Nov 3, 8:26 PM
Unknown Object (File)
Thu, Oct 30, 4:58 PM
Unknown Object (File)
Fri, Oct 24, 10:51 PM
Unknown Object (File)
Fri, Oct 24, 2:24 AM
Unknown Object (File)
Wed, Oct 22, 2:34 PM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable