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 17, 2:52 AM
Unknown Object (File)
Mar 14 2025, 5:30 PM
Unknown Object (File)
Mar 4 2025, 9:32 PM
Unknown Object (File)
Mar 4 2025, 12:10 PM
Unknown Object (File)
Feb 15 2025, 3:22 PM
Unknown Object (File)
Feb 15 2025, 3:21 PM
Unknown Object (File)
Feb 12 2025, 9:13 AM
Unknown Object (File)
Jan 12 2025, 2:58 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