summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2019-01-24 00:21:46 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2019-01-24 00:21:46 +0000
commitd018bef945a3a41695ca8360676fb969cc985d46 (patch)
tree1af45dad578aba7950517a50d0b7d478bddbc0ba
parent70343ca2134ab526631ae122fb96fa462b0f59d5 (diff)
32 not 16
-rw-r--r--sys/arch/amd64/amd64/locore0.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/locore0.S b/sys/arch/amd64/amd64/locore0.S
index f3ca68dcc87..a29b9f4ad05 100644
--- a/sys/arch/amd64/amd64/locore0.S
+++ b/sys/arch/amd64/amd64/locore0.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore0.S,v 1.14 2019/01/24 00:16:15 deraadt Exp $ */
+/* $OpenBSD: locore0.S,v 1.15 2019/01/24 00:21:45 deraadt Exp $ */
/* $NetBSD: locore.S,v 1.13 2004/03/25 18:33:17 drochner Exp $ */
/*
@@ -159,7 +159,7 @@ start: movw $0x1234,0x472 # warm boot
addl $(KERNBASE & 0xffffffff),%eax
movl $RELOC(esym),%ebp
movl %eax,(%ebp)
- movl $(KERNBASE >> 16),4(%ebp)
+ movl $(KERNBASE >> 32),4(%ebp)
1:
movl 24(%esp), %eax
movl %eax, RELOC(biosbasemem)