diff options
author | jlemon <jlemon@FreeBSD.org> | 1998-03-24 16:51:36 +0000 |
---|---|---|
committer | jlemon <jlemon@FreeBSD.org> | 1998-03-24 16:51:36 +0000 |
commit | 297cf38a76000d829e4962efc26732a7e4eef52d (patch) | |
tree | fa4ca034bd85b81833f4324a385defb4b2a7c9d4 | |
parent | 92cbf4023f4bc21dc454c573260218e97f3c2d9a (diff) | |
download | FreeBSD-src-297cf38a76000d829e4962efc26732a7e4eef52d.zip FreeBSD-src-297cf38a76000d829e4962efc26732a7e4eef52d.tar.gz |
Fix a stupid bug where I was returning the wrong value. It's a wonder
this code even worked in the first place.
-rw-r--r-- | sys/i386/i386/vm86bios.s | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/i386/vm86bios.s b/sys/i386/i386/vm86bios.s index 49e4dce..6b51351 100644 --- a/sys/i386/i386/vm86bios.s +++ b/sys/i386/i386/vm86bios.s @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: vm86bios.s,v 1.1 1998/03/23 19:52:39 jlemon Exp $ */ #include "opt_vm86.h" @@ -198,6 +198,7 @@ ENTRY(vm86_biosret) popl _curpcb /* restore curpcb/curproc */ popl _curproc + movl PCB_EIP(%edx),%edx /* original stack frame */ movl TF_TRAPNO(%edx),%eax /* return (trapno) */ popl %gs |