diff options
author | jhb <jhb@FreeBSD.org> | 2000-10-06 01:50:43 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-10-06 01:50:43 +0000 |
commit | cf097f45e20e1b9c9b7123a02dd299e83b250a08 (patch) | |
tree | 3b7b1d90e1c5f26638adac918c96db1612191a64 /sys/amd64 | |
parent | ef16aa3b5baa9591db458adb9e6fbe34d211088b (diff) | |
download | FreeBSD-src-cf097f45e20e1b9c9b7123a02dd299e83b250a08.zip FreeBSD-src-cf097f45e20e1b9c9b7123a02dd299e83b250a08.tar.gz |
Don't treat a kernel stack fault the same as a general protect fault or
a segment not present fault in the non-vm86 case.
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/trap.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c index f32dfae..976ec76 100644 --- a/sys/amd64/amd64/trap.c +++ b/sys/amd64/amd64/trap.c @@ -464,6 +464,9 @@ restart: vm86_trap((struct vm86frame *)&frame); goto out; } + if (type == T_STKFLT) + break; + /* FALL THROUGH */ case T_SEGNPFLT: /* segment not present fault */ |