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
F110242135: D46986.id144935.diff
Sat, Feb 15, 3:22 PM
F110242076: D46986.id144935.diff
Sat, Feb 15, 3:21 PM
Unknown Object (File)
Wed, Feb 12, 9:13 AM
Unknown Object (File)
Jan 12 2025, 2:58 PM
Unknown Object (File)
Jan 11 2025, 10:40 PM
Unknown Object (File)
Jan 9 2025, 11:52 AM
Unknown Object (File)
Dec 31 2024, 4:25 AM
Unknown Object (File)
Dec 29 2024, 10:14 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