HomeFreeBSD

riscv: Tidy panic messages for exceptions

Description

riscv: Tidy panic messages for exceptions

  • Remove trailing newlines
  • Be consistent about the format used to print pointer values
  • Print the trap value for access faults (it is the faulting address if non-zero) and illegal instructions (it is the first N bytes of the decoded instruction if non-zero)

Reviewed by: markj
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D41786

Details

Provenance
jhbAuthored on Oct 11 2023, 9:21 PM
Reviewer
markj
Differential Revision
D41786: riscv: Tidy panic messages for exceptions
Parents
rG569f2292cae3: test: iterate both reader and writer threads starting at the actual pagesize
Branches
Unknown
Tags
Unknown