From 39083e37bb49e2ebcefe95155eee3bb9f71d0283 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Mon, 29 Aug 2005 11:20:56 +0000 Subject: setpu stack for primary boot at 0x30000 after the load address. this allows netbooting uncompressed kernels on newer alphas. this shall be addressed futher after the release. deraadt@ ok --- sys/arch/alpha/stand/start.S | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'sys/arch/alpha') diff --git a/sys/arch/alpha/stand/start.S b/sys/arch/alpha/stand/start.S index f1ac66d77d6..b3cd857544a 100644 --- a/sys/arch/alpha/stand/start.S +++ b/sys/arch/alpha/stand/start.S @@ -1,4 +1,4 @@ -/* $OpenBSD: start.S,v 1.4 2005/08/10 16:58:42 todd Exp $ */ +/* $OpenBSD: start.S,v 1.5 2005/08/29 11:20:55 mickey Exp $ */ /* $NetBSD: start.S,v 1.4 1996/10/17 02:50:40 cgd Exp $ */ /* @@ -49,9 +49,11 @@ NESTED(start, 1, ENTRY_FRAME, ra, 0, 0) Lstartgp: LDGP(pv) -#ifndef PRIMARY_BOOTBLOCK - lda sp,start /* start stack below text */ - lda sp,-ENTRY_FRAME(sp) + lda sp,start +#ifdef PRIMARY_BOOTBLOCK + lda sp,0x30000-ENTRY_FRAME(sp) +#else + lda sp,-ENTRY_FRAME(sp) /* start stack below text */ #endif lda a0,_edata -- cgit v1.2.3