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
F137237721: D46986.diff
Fri, Nov 21, 5:22 PM
Unknown Object (File)
Mon, Nov 3, 8:33 PM
Unknown Object (File)
Mon, Nov 3, 8:33 PM
Unknown Object (File)
Mon, Nov 3, 8:31 PM
Unknown Object (File)
Mon, Nov 3, 8:26 PM
Unknown Object (File)
Thu, Oct 30, 4:58 PM
Unknown Object (File)
Fri, Oct 24, 10:51 PM
Unknown Object (File)
Fri, Oct 24, 2:24 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 59814
Build 56699: arc lint + arc unit