arm_dpm_write_dirty_registers() function
Writes all modified core registers for all processor modes. In normal operation this is called on exit from halting debug state.
Arguments
dpm
represents the processor
bpwp
true ensures breakpoints and watchpoints are set, false ensures they are cleared