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)
Thu, Apr 2, 3:52 PM
Unknown Object (File)
Sun, Mar 8, 5:26 AM
Unknown Object (File)
Thu, Mar 5, 8:03 PM
Unknown Object (File)
Thu, Mar 5, 3:02 PM
Unknown Object (File)
Thu, Mar 5, 1:32 PM
Unknown Object (File)
Mar 3 2026, 12:46 AM
Unknown Object (File)
Feb 17 2026, 9:45 AM
Unknown Object (File)
Feb 17 2026, 8:04 AM
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