aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2010-05-23 10:46:49 -0400
committerKevin O'Connor <kevin@koconnor.net>2010-05-23 10:46:49 -0400
commit144817be2de1e0f51ad9e138c72660932a4ef07d (patch)
tree705e569d50e9357767bd96d4de6a2dc9ef232c57 /src/util.h
parent9c447c3a6d94b4e43e0b55a1d0cf0f9731472aa2 (diff)
downloadseabios-hppa-144817be2de1e0f51ad9e138c72660932a4ef07d.zip
seabios-hppa-144817be2de1e0f51ad9e138c72660932a4ef07d.tar.gz
seabios-hppa-144817be2de1e0f51ad9e138c72660932a4ef07d.tar.bz2
Rename check_time() to check_tsc().
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index a5c5b75..7902e83 100644
--- a/src/util.h
+++ b/src/util.h
@@ -292,7 +292,7 @@ void lpt_setup(void);
// clock.c
#define PIT_TICK_RATE 1193180 // Underlying HZ of PIT
#define PIT_TICK_INTERVAL 65536 // Default interval for 18.2Hz timer
-static inline int check_time(u64 end) {
+static inline int check_tsc(u64 end) {
return (s64)(rdtscll() - end) > 0;
}
void timer_setup(void);