hide InitializeBSD if DONT_INIT_BSC is defined

This commit is contained in:
msaitoh 2000-08-11 15:11:22 +00:00
parent 18f2e17644
commit 7e0d8cf541
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: locore.s,v 1.20 2000/08/11 14:51:08 msaitoh Exp $ */
/* $NetBSD: locore.s,v 1.21 2000/08/11 15:11:22 msaitoh Exp $ */
/*-
* Copyright (c) 1993, 1994, 1995, 1997
@ -398,7 +398,9 @@ main_label:
.align 2
.globl _C_LABEL(ram_start)
#ifndef DONT_INIT_BSC
XLInitializeBsc:.long _C_LABEL(InitializeBsc)
#endif
___start: .long start
___etext: .long _etext
___end: .long _end

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.17 2000/06/29 08:19:21 mrg Exp $ */
/* $NetBSD: machdep.c,v 1.18 2000/08/11 15:11:22 msaitoh Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@ -849,6 +849,7 @@ sh_memio_unmap(t, bsh, size)
return;
}
#if !defined(DONT_INIT_BSC)
/*
* InitializeBsc
* : BSC(Bus State Controler)
@ -974,6 +975,7 @@ InitializeBsc()
SHREG_CCR = CCR_CE;
#endif
}
#endif
void
sh3_cache_on(void)