summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/include/bits
diff options
context:
space:
mode:
authorMichael Brown2012-03-19 18:08:51 +0100
committerMichael Brown2012-03-19 23:13:32 +0100
commit12002d6955f7423ef02cd6a68946240f6dd592b2 (patch)
tree914e482da5b59b9afbe02f6e54d10dedfdca48be /src/arch/i386/include/bits
parent[time] Define an API for getting the current time (diff)
downloadipxe-12002d6955f7423ef02cd6a68946240f6dd592b2.tar.gz
ipxe-12002d6955f7423ef02cd6a68946240f6dd592b2.tar.xz
ipxe-12002d6955f7423ef02cd6a68946240f6dd592b2.zip
[time] Add RTC-based time source
Add a time source using the CMOS RTC to obtain the current time. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/i386/include/bits')
-rw-r--r--src/arch/i386/include/bits/time.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/i386/include/bits/time.h b/src/arch/i386/include/bits/time.h
index d2baacd88..24dd020e9 100644
--- a/src/arch/i386/include/bits/time.h
+++ b/src/arch/i386/include/bits/time.h
@@ -9,4 +9,6 @@
FILE_LICENCE ( GPL2_OR_LATER );
+#include <ipxe/rtc_time.h>
+
#endif /* _BITS_TIME_H */