Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mipsco/include Allow file to be included in assembl...



details:   https://anonhg.NetBSD.org/src/rev/9d06ddf0c6ea
branches:  trunk
changeset: 503437:9d06ddf0c6ea
user:      wdk <wdk%NetBSD.org@localhost>
date:      Tue Feb 06 04:32:29 2001 +0000

description:
Allow file to be included in assembler source (bootstrap code etc.)

diffstat:

 sys/arch/mipsco/include/prom.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 031240c6a368 -r 9d06ddf0c6ea sys/arch/mipsco/include/prom.h
--- a/sys/arch/mipsco/include/prom.h    Tue Feb 06 04:27:48 2001 +0000
+++ b/sys/arch/mipsco/include/prom.h    Tue Feb 06 04:32:29 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: prom.h,v 1.5 2000/12/03 04:51:04 matt Exp $    */
+/*     $NetBSD: prom.h,v 1.6 2001/02/06 04:32:29 wdk Exp $     */
 
 /*
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -318,7 +318,7 @@
 #define MIPS_PROM_NVGET                MIPS_PROM_ENTRY(53)
 #define MIPS_PROM_NVSET                MIPS_PROM_ENTRY(54)
 
-#ifdef _KERNEL
+#if defined(_KERNEL) && !defined(__ASSEMBLER__)
 extern void prom_init (void);
 extern int prom_getconsole (void);
 #endif



Home | Main Index | Thread Index | Old Index