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
F153998062: D46986.id144419.diff
Sat, Apr 25, 8:33 AM
F153972835: D46986.id.diff
Sat, Apr 25, 4:58 AM
Unknown Object (File)
Tue, Apr 21, 1:51 AM
Unknown Object (File)
Sun, Apr 12, 12:18 AM
Unknown Object (File)
Sat, Apr 11, 2:31 PM
Unknown Object (File)
Fri, Apr 10, 1:51 AM
Unknown Object (File)
Mon, Apr 6, 5:09 PM
Unknown Object (File)
Thu, Apr 2, 3:52 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