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, Dec 2, 10:54 PM
Unknown Object (File)
Nov 17 2024, 8:11 PM
Unknown Object (File)
Nov 10 2024, 5:02 AM
Unknown Object (File)
Nov 7 2024, 2:31 PM
Unknown Object (File)
Nov 7 2024, 8:29 AM
Unknown Object (File)
Nov 7 2024, 8:21 AM
Unknown Object (File)
Nov 6 2024, 8:44 PM
Unknown Object (File)
Nov 6 2024, 6:40 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