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, 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)
Tue, Mar 3, 12:46 AM
Unknown Object (File)
Tue, Feb 17, 9:45 AM
Unknown Object (File)
Tue, Feb 17, 8:04 AM
Unknown Object (File)
Mon, Feb 16, 5:24 PM
Unknown Object (File)
Sun, Feb 8, 8:44 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