summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorrin <rin@NetBSD.org>2021-09-15 11:03:24 +0000
committerrin <rin@NetBSD.org>2021-09-15 11:03:24 +0000
commit6477d2def080b52e610cb28c10cf7564be8bf1ac (patch)
tree5b335b0b28735041eb69ce2fad99288704336d30 /sys/dev
parent74d117ccdf6c1c2cedce220ec36f5047ef9b8213 (diff)
For kernel mode address error, do not overwrite tf->tf_spc and tf->tf_r0
*before* checking pcb->pbc_onfault != NULL. Should fix part of PR port-sh3/56382 PR port-sh3/56401 i.e., DDB will no longer wrongly indicate NULL as fault PC for kernel mode address error (and 0xe == EFAULT as r0). Yes, we have another bugs that cause panics described in the two PRs, but now we can examine them more easily :).
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions