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)
Sun, Feb 9, 1:01 AM
Unknown Object (File)
Fri, Feb 7, 3:41 AM
Unknown Object (File)
Thu, Feb 6, 9:58 PM
Unknown Object (File)
Wed, Feb 5, 12:02 AM
Unknown Object (File)
Thu, Jan 30, 12:18 AM
Unknown Object (File)
Sat, Jan 18, 1:07 AM
Unknown Object (File)
Fri, Jan 17, 9:11 PM
Unknown Object (File)
Fri, Jan 17, 4:19 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 59625
Build 56512: arc lint + arc unit

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