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, Jan 12, 2:58 PM
Unknown Object (File)
Sat, Jan 11, 10:40 PM
Unknown Object (File)
Thu, Jan 9, 11:52 AM
Unknown Object (File)
Dec 31 2024, 4:25 AM
Unknown Object (File)
Dec 29 2024, 10:14 PM
Unknown Object (File)
Dec 25 2024, 6:45 AM
Unknown Object (File)
Dec 2 2024, 10:54 PM
Unknown Object (File)
Nov 17 2024, 8:11 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