summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-09-17 17:20:57 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-09-17 17:20:57 +0000
commit460608fd49f23341c086e496a72d6eccf375354b (patch)
treeab7bcd29da6cded9dc87260511159530861d3511
parentfed417a38b95b13128c9588fd9f104da9b06bf41 (diff)
support standalone.
-rw-r--r--sys/arch/i386/isa/clock.c9
1 files changed, 9 insertions, 0 deletions
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 */