Page MenuHomeFreeBSD

Set si_trapno to the exception code from scause.
ClosedPublic

Authored by jhb on Jul 22 2020, 4:29 PM.
Tags
None
Referenced Files
F151451670: D25770.diff
Wed, Apr 8, 12:12 PM
Unknown Object (File)
Sun, Apr 5, 2:19 AM
Unknown Object (File)
Tue, Mar 31, 6:47 PM
Unknown Object (File)
Sun, Mar 29, 8:22 PM
Unknown Object (File)
Fri, Mar 27, 1:16 PM
Unknown Object (File)
Mon, Mar 23, 10:28 PM
Unknown Object (File)
Mon, Mar 23, 10:09 PM
Unknown Object (File)
Mon, Mar 23, 8:24 AM
Subscribers

Details

Test Plan
  • tested in CheriBSD where we have some unit tests that check the value of si_trapno

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 32481
Build 29957: arc lint + arc unit

Event Timeline

jhb requested review of this revision.Jul 22 2020, 4:29 PM
jhb created this revision.
kib added inline comments.
sys/riscv/riscv/trap.c
321

Extra ().

331

Missing space.

This revision is now accepted and ready to land.Jul 24 2020, 6:35 PM
sys/riscv/riscv/trap.c
331

I've since fixed these in a later change in this series that's already been merged.

This revision was automatically updated to reflect the committed changes.