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
F153962292: D46814.id144940.diff
Sat, Apr 25, 3:17 AM
Unknown Object (File)
Sun, Apr 19, 1:55 AM
Unknown Object (File)
Sun, Apr 19, 12:44 AM
Unknown Object (File)
Sat, Apr 18, 6:43 PM
Unknown Object (File)
Sat, Apr 18, 12:17 PM
Unknown Object (File)
Sat, Apr 18, 1:23 AM
Unknown Object (File)
Thu, Apr 16, 2:04 PM
Unknown Object (File)
Sat, Apr 4, 10:36 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