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)
Sun, May 17, 8:43 AM
Unknown Object (File)
Sun, May 17, 1:58 AM
Unknown Object (File)
Sat, May 16, 9:21 PM
Unknown Object (File)
Thu, May 14, 11:12 AM
Unknown Object (File)
Mon, May 4, 9:03 PM
Unknown Object (File)
Thu, Apr 30, 12:31 PM
Unknown Object (File)
Thu, Apr 30, 12:31 PM
Unknown Object (File)
Thu, Apr 30, 12:31 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