diff options
author | jdp <jdp@FreeBSD.org> | 2000-02-25 03:26:10 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 2000-02-25 03:26:10 +0000 |
commit | d28a31c2207431c46c05d0ed9a5ba147af01c0e9 (patch) | |
tree | 63f7184d58a3725951a4f1acfd6834cd0b3b7856 /sys/boot/common/load_elf.c | |
parent | 83bac1a374d8526d20eeaf6783c7524b438fc73b (diff) | |
download | FreeBSD-src-d28a31c2207431c46c05d0ed9a5ba147af01c0e9.zip FreeBSD-src-d28a31c2207431c46c05d0ed9a5ba147af01c0e9.tar.gz |
Fix two bugs in the fault handler for copy{in,out} and friends.
First, it was failing to reset the PCB's pcb_onfault member to NULL.
Under some really obscure circumstances this might cause a wild jump
within the kernel when a panic would otherwise occur. Second, the
handler was loading the GP register needlessly and with an incorrect
value.
Reviewed by: Doug Rabson <dfr>
Approved by: Jordan Hubbard <jkh>
Diffstat (limited to 'sys/boot/common/load_elf.c')
0 files changed, 0 insertions, 0 deletions