From: mickey Date: Tue, 17 Sep 1996 17:20:56 +0000 (+0000) Subject: support standalone. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=09b6507d9fb4ea301fc149895e15b1c0ec99462c;p=openbsd support standalone. --- diff --git a/sys/arch/i386/isa/clock.c b/sys/arch/i386/isa/clock.c index 571033ee4a5..1bf94f2955f 100644 --- a/sys/arch/i386/isa/clock.c +++ b/sys/arch/i386/isa/clock.c @@ -171,6 +171,8 @@ startrtclock() NVRAM_DIAG_BITS); } +#ifndef _STANDALONE + int clockintr(arg) void *arg; @@ -195,6 +197,7 @@ rtcintr(arg) } return 0; } +#endif /* _STANDALONE */ int gettick() @@ -275,6 +278,8 @@ delay(n) } } +#ifndef _STANDALONE + static int beeping; void @@ -314,6 +319,7 @@ sysbeep(pitch, period) beeping = 1; timeout(sysbeepstop, 0, period); } +#endif /* _STANDALONE */ unsigned int delaycount; /* calibrated loop variable (1 millisecond) */ @@ -340,6 +346,8 @@ findcpuspeed() delaycount = (FIRST_GUESS * TIMER_DIV(1000)) / (0xffff-remainder); } +#ifndef _STANDALONE + #ifdef I586_CPU void calibrate_cyclecounter() @@ -566,3 +574,4 @@ setstatclockrate(arg) else mc146818_write(NULL, MC_REGA, MC_BASE_32_KHz | MC_RATE_1024_Hz); } +#endif /* _STANDALONE */