Page MenuHomeFreeBSD

arm_smcc_1_2_*: Don't trash SP and X19 if no return value structure.
ClosedPublic

Authored by jhb on Jan 1 2023, 4:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jun 9, 7:36 PM
Unknown Object (File)
Sun, Jun 7, 10:25 PM
Unknown Object (File)
May 19 2026, 2:25 PM
Unknown Object (File)
Apr 21 2026, 12:53 AM
Unknown Object (File)
Apr 19 2026, 6:11 PM
Unknown Object (File)
Apr 6 2026, 8:32 PM
Unknown Object (File)
Mar 31 2026, 7:51 PM
Unknown Object (File)
Mar 31 2026, 1:28 PM

Details

Summary

Jumping direct to ret was not restoring the saved value of x19 and was
also not adjusting sp to discard the two saved registers.

Sponsored by: DARPA

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable