Page MenuHomeFreeBSD

arm64: Stop setting x0 for pcb_onfault handlers
ClosedPublic

Authored by andrew on Sep 27 2024, 3:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 26, 3:08 AM
Unknown Object (File)
Fri, Nov 21, 4:13 AM
Unknown Object (File)
Nov 10 2025, 8:10 PM
Unknown Object (File)
Nov 8 2025, 1:58 AM
Unknown Object (File)
Nov 4 2025, 4:34 AM
Unknown Object (File)
Oct 28 2025, 6:25 AM
Unknown Object (File)
Oct 19 2025, 8:51 PM
Unknown Object (File)
Oct 19 2025, 8:47 PM
Subscribers

Details

Summary

All handlers set x0 before returning, there is no need to also do so
in the data abort exception handler.

Sponsored by: Arm Ltd

Diff Detail

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

Event Timeline

markj added inline comments.
sys/arm64/arm64/trap.c
378

This is the Mach error too, so not correct.

This revision is now accepted and ready to land.Sep 30 2024, 8:58 AM