summaryrefslogtreecommitdiffstats
path: root/src/config/defaults
diff options
context:
space:
mode:
authorMichael Brown2012-03-19 17:59:53 +0100
committerMichael Brown2012-03-19 23:13:27 +0100
commit846bde90e6b1001480016fa46a957a9e726af68a (patch)
treecf3dfaaef4c90864c11c707482fde92f49b4abf7 /src/config/defaults
parent[test] Add self-tests for mktime() (diff)
downloadipxe-846bde90e6b1001480016fa46a957a9e726af68a.tar.gz
ipxe-846bde90e6b1001480016fa46a957a9e726af68a.tar.xz
ipxe-846bde90e6b1001480016fa46a957a9e726af68a.zip
[time] Define an API for getting the current time
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config/defaults')
-rw-r--r--src/config/defaults/efi.h1
-rw-r--r--src/config/defaults/linux.h1
-rw-r--r--src/config/defaults/pcbios.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/config/defaults/efi.h b/src/config/defaults/efi.h
index c0bb78da..16a44dd5 100644
--- a/src/config/defaults/efi.h
+++ b/src/config/defaults/efi.h
@@ -18,6 +18,7 @@
#define SANBOOT_NULL
#define BOFM_EFI
#define ENTROPY_NULL
+#define TIME_NULL
#define IMAGE_EFI /* EFI image support */
#define IMAGE_SCRIPT /* iPXE script image support */
diff --git a/src/config/defaults/linux.h b/src/config/defaults/linux.h
index fcdf9040..58c73c38 100644
--- a/src/config/defaults/linux.h
+++ b/src/config/defaults/linux.h
@@ -15,6 +15,7 @@
#define SMBIOS_LINUX
#define SANBOOT_NULL
#define ENTROPY_LINUX
+#define TIME_NULL
#define DRIVERS_LINUX
diff --git a/src/config/defaults/pcbios.h b/src/config/defaults/pcbios.h
index 17e6ef63..2bb82cf0 100644
--- a/src/config/defaults/pcbios.h
+++ b/src/config/defaults/pcbios.h
@@ -19,6 +19,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
#define SMBIOS_PCBIOS
#define SANBOOT_PCBIOS
#define ENTROPY_RTC
+#define TIME_NULL
#define IMAGE_ELF /* ELF image support */
#define IMAGE_MULTIBOOT /* MultiBoot image support */