aboutsummaryrefslogtreecommitdiffstats
path: root/src/devices/timer.h
diff options
context:
space:
mode:
authorklaar36 <klas.arvidsson@liu.se>2017-03-20 17:57:16 +0100
committerklaar36 <klas.arvidsson@liu.se>2017-03-20 17:57:16 +0100
commitd9ae213323d0a036b7f3594de6822413a4c312c6 (patch)
tree4c9f16e408d3cda4682afa28b34b1dc253c47a4c /src/devices/timer.h
parent569371aca6667c0509a404d371a85e4fd5654731 (diff)
downloadpintos-rs-d9ae213323d0a036b7f3594de6822413a4c312c6.tar.gz
TIMER_FREQ test program compilation fix
Diffstat (limited to 'src/devices/timer.h')
-rw-r--r--src/devices/timer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/timer.h b/src/devices/timer.h
index aee6033..e2f0e0b 100644
--- a/src/devices/timer.h
+++ b/src/devices/timer.h
@@ -17,4 +17,7 @@ void timer_nsleep (int64_t nanoseconds);
void timer_print_stats (void);
+/* used by thread test programs */
+extern uint16_t TIMER_FREQ;
+
#endif /* devices/timer.h */