diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-10-30 22:41:57 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-10-30 22:41:57 +0000 |
commit | 072b56c97e17e8e69ddab5a735b5297387a88a70 (patch) | |
tree | 22eaee09956502609c240ddff8a108d8733521f9 /sys/arch/alpha/stand/start.S | |
parent | b85b15782739220b5bf2563ccdc7ac9e256a31d2 (diff) |
Merge to NetBSD 961020. Retained our kernel APIs where NetBSD has changed.
-Wall -Wstrict-prototypes -Wmissing-prototypes too.
Diffstat (limited to 'sys/arch/alpha/stand/start.S')
-rw-r--r-- | sys/arch/alpha/stand/start.S | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/sys/arch/alpha/stand/start.S b/sys/arch/alpha/stand/start.S index 6990832353b..a3eb03974e4 100644 --- a/sys/arch/alpha/stand/start.S +++ b/sys/arch/alpha/stand/start.S @@ -1,5 +1,5 @@ -/* $OpenBSD: start.S,v 1.2 1996/07/29 23:01:28 niklas Exp $ */ -/* $NetBSD: start.S,v 1.1 1995/11/23 02:39:15 cgd Exp $ */ +/* $OpenBSD: start.S,v 1.3 1996/10/30 22:40:36 niklas Exp $ */ +/* $NetBSD: start.S,v 1.4 1996/10/17 02:50:40 cgd Exp $ */ /* * Mach Operating System @@ -45,21 +45,27 @@ #define ENTRY_FRAME 32 NESTED(start, 1, ENTRY_FRAME, ra, 0, 0) - br pv,1f -1: SETGP(pv) + br pv,Lstartgp +Lstartgp: + LDGP(pv) #ifndef PRIMARY_BOOTBLOCK lda sp,start /* start stack below text */ lda sp,-ENTRY_FRAME(sp) #endif +#ifdef ECOFF_COMPAT lda a0,_EDATA +#else + lda a0,_edata +#endif lda a1,_end subq a1,a0,a1 CALL(bzero) CALL(main) /* transfer to C */ +XLEAF(_rtt, 0) XLEAF(halt, 0) call_pal PAL_halt /* halt if we ever return */ END(start) |