HomeFreeBSD

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

Description

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

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

Reviewed by: andrew
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D37922

Details

Provenance
jhbAuthored on Feb 1 2023, 9:54 PM
Reviewer
andrew
Differential Revision
D37922: arm_smcc_1_2_*: Don't trash SP and X19 if no return value structure.
Parents
rGa0102dee34bc: sockets: in sousrsend() pass down the error to aio(4)
Branches
Unknown
Tags
Unknown