diff options
author | jkh <jkh@FreeBSD.org> | 1996-11-14 15:55:21 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-11-14 15:55:21 +0000 |
commit | 321143c0276b7c0d2e2facd9e90689ffe5bfda4a (patch) | |
tree | e4d3028dd229847052b005e7b4e18ca5120e8287 /sys | |
parent | 8920d4233436687c5aedb2580eb8a89a83120e2e (diff) | |
download | FreeBSD-src-321143c0276b7c0d2e2facd9e90689ffe5bfda4a.zip FreeBSD-src-321143c0276b7c0d2e2facd9e90689ffe5bfda4a.tar.gz |
movl instruction should have been lea (this is why userconfig didn't
work in 2.1).
Spotted-by-the-keen-eyes-of: Don Lewis <Don.Lewis@tsc.tdk.com>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/amd64/locore.S | 4 | ||||
-rw-r--r-- | sys/amd64/amd64/locore.s | 4 | ||||
-rw-r--r-- | sys/i386/i386/locore.s | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/amd64/amd64/locore.S b/sys/amd64/amd64/locore.S index 13c042e..3595bb8 100644 --- a/sys/amd64/amd64/locore.S +++ b/sys/amd64/amd64/locore.S @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)locore.s 7.3 (Berkeley) 5/13/91 - * $Id: locore.s,v 1.75 1996/10/09 19:47:16 bde Exp $ + * $Id: locore.s,v 1.76 1996/11/11 04:20:18 dyson Exp $ * * originally from: locore.s, by William F. Jolitz * @@ -525,7 +525,7 @@ olddiskboot: #if defined(USERCONFIG_BOOT) && defined(USERCONFIG) movl $0x10200, %esi - movl $R(_userconfig_from_boot),%edi + lea $R(_userconfig_from_boot),%edi movl $512,%ecx cld rep diff --git a/sys/amd64/amd64/locore.s b/sys/amd64/amd64/locore.s index 13c042e..3595bb8 100644 --- a/sys/amd64/amd64/locore.s +++ b/sys/amd64/amd64/locore.s @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)locore.s 7.3 (Berkeley) 5/13/91 - * $Id: locore.s,v 1.75 1996/10/09 19:47:16 bde Exp $ + * $Id: locore.s,v 1.76 1996/11/11 04:20:18 dyson Exp $ * * originally from: locore.s, by William F. Jolitz * @@ -525,7 +525,7 @@ olddiskboot: #if defined(USERCONFIG_BOOT) && defined(USERCONFIG) movl $0x10200, %esi - movl $R(_userconfig_from_boot),%edi + lea $R(_userconfig_from_boot),%edi movl $512,%ecx cld rep diff --git a/sys/i386/i386/locore.s b/sys/i386/i386/locore.s index 13c042e..3595bb8 100644 --- a/sys/i386/i386/locore.s +++ b/sys/i386/i386/locore.s @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)locore.s 7.3 (Berkeley) 5/13/91 - * $Id: locore.s,v 1.75 1996/10/09 19:47:16 bde Exp $ + * $Id: locore.s,v 1.76 1996/11/11 04:20:18 dyson Exp $ * * originally from: locore.s, by William F. Jolitz * @@ -525,7 +525,7 @@ olddiskboot: #if defined(USERCONFIG_BOOT) && defined(USERCONFIG) movl $0x10200, %esi - movl $R(_userconfig_from_boot),%edi + lea $R(_userconfig_from_boot),%edi movl $512,%ecx cld rep |