diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-08-29 11:20:56 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-08-29 11:20:56 +0000 |
commit | 39083e37bb49e2ebcefe95155eee3bb9f71d0283 (patch) | |
tree | b29731eb77b89b83850b4d6ec11b1dbfd4498ff4 /sys/arch/alpha | |
parent | e7476e5374384cf4e3b2c579da2a6edd3f5a77bf (diff) |
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
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r-- | sys/arch/alpha/stand/start.S | 10 |
1 files changed, 6 insertions, 4 deletions
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 |