Page MenuHomeFreeBSD

dev/psci: Create macros to simplify calling SMCCC
ClosedPublic

Authored by andrew on Mon, Oct 7, 4:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 3, 4:19 AM
Unknown Object (File)
Tue, Oct 29, 4:48 PM
Unknown Object (File)
Mon, Oct 28, 11:07 AM
Unknown Object (File)
Mon, Oct 28, 6:45 AM
Unknown Object (File)
Tue, Oct 15, 7:43 PM
Unknown Object (File)
Sun, Oct 13, 9:33 AM
Unknown Object (File)
Wed, Oct 9, 4:06 PM
Unknown Object (File)
Wed, Oct 9, 2: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