HomeFreeBSD

Remove unused fields from struct pcb.

Description

Remove unused fields from struct pcb.

cpu_switch/throw() and savectx() do not save or restore any values in
these fields which mostly held non-callee-save registers.

makectx() copied these fields from kdb_frame, but they weren't used
except for PC_REGS using pcb_sepc. Change PC_REGS to use
kdb_frame->tf_sepc directly instead.

Reviewed by: br
MFC after: 2 weeks
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D23395

Details

Provenance
jhbAuthored on
Reviewer
br
Differential Revision
D23395: Remove unused fields from struct pcb.
Parents
rS357304: Shift the ITS processor ID after reading it.
Branches
Unknown
Tags
Unknown