diff options
author | rnordier <rnordier@FreeBSD.org> | 1998-10-06 07:15:35 +0000 |
---|---|---|
committer | rnordier <rnordier@FreeBSD.org> | 1998-10-06 07:15:35 +0000 |
commit | 484920ce832de6447412f761a827c9cd379095a9 (patch) | |
tree | f030d58451d43eded297d407de27744bed54c67e /sys/boot/i386/btx | |
parent | 723e5c6a84ea5f2992e6700554217a26aa6af88a (diff) | |
download | FreeBSD-src-484920ce832de6447412f761a827c9cd379095a9.zip FreeBSD-src-484920ce832de6447412f761a827c9cd379095a9.tar.gz |
Fix for "get base memory" bug found and mostly fixed by Mike.
Diffstat (limited to 'sys/boot/i386/btx')
-rw-r--r-- | sys/boot/i386/btx/btxldr/btxldr.S | 4 | ||||
-rw-r--r-- | sys/boot/i386/btx/btxldr/btxldr.s | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/boot/i386/btx/btxldr/btxldr.S b/sys/boot/i386/btx/btxldr/btxldr.S index 815b3c6..7a6bd50 100644 --- a/sys/boot/i386/btx/btxldr/btxldr.S +++ b/sys/boot/i386/btx/btxldr/btxldr.S @@ -13,7 +13,7 @@ # purpose. # -# $Id: btxldr.s,v 1.1 1998/09/12 06:30:26 rnordier Exp $ +# $Id: btxldr.s,v 1.2 1998/10/06 06:13:36 msmith Exp $ # # Prototype BTX loader program, written in a couple of hours. The @@ -66,7 +66,7 @@ start: cld # String ops inc movl $m_logo,%esi # Identify call putstr # ourselves - movw BDA_MEM,%eax # Get base memory + movzwl BDA_MEM,%eax # Get base memory shll $0xa,%eax # in bytes movl %eax,%ebp # Base of user stack movl $m_mem,%esi # Display diff --git a/sys/boot/i386/btx/btxldr/btxldr.s b/sys/boot/i386/btx/btxldr/btxldr.s index 815b3c6..7a6bd50 100644 --- a/sys/boot/i386/btx/btxldr/btxldr.s +++ b/sys/boot/i386/btx/btxldr/btxldr.s @@ -13,7 +13,7 @@ # purpose. # -# $Id: btxldr.s,v 1.1 1998/09/12 06:30:26 rnordier Exp $ +# $Id: btxldr.s,v 1.2 1998/10/06 06:13:36 msmith Exp $ # # Prototype BTX loader program, written in a couple of hours. The @@ -66,7 +66,7 @@ start: cld # String ops inc movl $m_logo,%esi # Identify call putstr # ourselves - movw BDA_MEM,%eax # Get base memory + movzwl BDA_MEM,%eax # Get base memory shll $0xa,%eax # in bytes movl %eax,%ebp # Base of user stack movl $m_mem,%esi # Display |