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)
Fri, Dec 5, 1:40 AM
Unknown Object (File)
Wed, Dec 3, 6:41 AM
Unknown Object (File)
Tue, Nov 25, 3:04 PM
Unknown Object (File)
Fri, Nov 21, 5:22 PM
Unknown Object (File)
Nov 3 2025, 8:33 PM
Unknown Object (File)
Nov 3 2025, 8:33 PM
Unknown Object (File)
Nov 3 2025, 8:31 PM
Unknown Object (File)
Nov 3 2025, 8:26 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 59814
Build 56699: arc lint + arc unit