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, Oct 9, 9:05 PM
Unknown Object (File)
Tue, Oct 7, 3:31 AM
Unknown Object (File)
Thu, Oct 2, 7:13 AM
Unknown Object (File)
Thu, Oct 2, 6:15 AM
Unknown Object (File)
Sun, Sep 28, 2:36 AM
Unknown Object (File)
Sep 15 2025, 9:19 AM
Unknown Object (File)
Sep 12 2025, 11:11 PM
Unknown Object (File)
Sep 11 2025, 6:54 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