HomeFreeBSD

sys: Add cpu_update_pcb hook

Description

sys: Add cpu_update_pcb hook

This MD function is invoked before dumping register set notes when
writing out a core dump to ensure that the PCB for a given thread is
up to date. This provides a centralized place to update the PCB with
values of the current thread for each arch rather than doing this work
in each register set's get method.

Discussed with: jrtc27
Reviewed by: kib, markj
Sponsored by: AFRL, DARPA
Differential Revision: https://reviews.freebsd.org/D44910

Details

Provenance
jhbAuthored on Fri, Jan 31, 8:39 PM
Reviewer
kib
Differential Revision
D44910: sys: Add cpu_update_pcb hook
Parents
rG17b7a0c595a5: nvmft: Don't offline a port being removed if it is already offline
Branches
Unknown
Tags
Unknown