From 4839f70ff20fd037b3aa14e84395812749ea451f Mon Sep 17 00:00:00 2001 From: fvdl Date: Thu, 4 Jul 2002 10:34:22 +0000 Subject: [PATCH] Fix parameter passed to init_x86_64. --- sys/arch/x86_64/x86_64/locore.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/x86_64/x86_64/locore.S b/sys/arch/x86_64/x86_64/locore.S index 54b6a72caefe..bed6c4d8479a 100644 --- a/sys/arch/x86_64/x86_64/locore.S +++ b/sys/arch/x86_64/x86_64/locore.S @@ -1,4 +1,4 @@ -/* $NetBSD: locore.S,v 1.7 2002/06/25 01:24:50 thorpej Exp $ */ +/* $NetBSD: locore.S,v 1.8 2002/07/04 10:34:22 fvdl Exp $ */ /* * Copyright-o-rama! @@ -651,7 +651,7 @@ longmode_hi: movw %ax,%fs /* XXX merge these */ - movq $VM_MIN_KERNEL_ADDRESS,%rdi + leaq TABLESIZE(%rsi),%rdi call _C_LABEL(init_x86_64) call _C_LABEL(main)