mirror of
https://github.com/ipxe/ipxe
synced 2025-12-26 01:22:37 +03:00
[time] Define an API for getting the current time
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
#define SMBIOS_LINUX
|
||||
#define SANBOOT_NULL
|
||||
#define ENTROPY_LINUX
|
||||
#define TIME_NULL
|
||||
|
||||
#define DRIVERS_LINUX
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
16
src/config/time.h
Normal file
16
src/config/time.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef CONFIG_TIME_H
|
||||
#define CONFIG_TIME_H
|
||||
|
||||
/** @file
|
||||
*
|
||||
* Time API configuration
|
||||
*
|
||||
*/
|
||||
|
||||
FILE_LICENCE ( GPL2_OR_LATER );
|
||||
|
||||
#include <config/defaults.h>
|
||||
|
||||
#include <config/local/time.h>
|
||||
|
||||
#endif /* CONFIG_TIME_H */
|
||||
Reference in New Issue
Block a user