52 if ( ( efirc = rs->
GetTime ( &time,
NULL ) ) != 0 ) {
54 DBGC ( rs,
"EFITIME could not get system time: %s\n",
68 DBGC ( rs,
"EFITIME is %04d-%02d-%02d %02d:%02d:%02d\n",
#define NULL
NULL pointer (VOID *)
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
struct arbelprm_rc_send_wqe rc
static time_t efi_get_time(void)
Get current time in seconds.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
#define EEFI(efirc)
Convert an EFI status code to an iPXE status code.
EFI_SYSTEM_TABLE * efi_systab
#define PROVIDE_TIME(_subsys, _api_func, _func)
Provide a time API implementation.
time_t time_now(void)
Get current time in seconds (ignoring system clock offset)
void * memset(void *dest, int character, size_t len) __nonnull
int64_t time_t
Seconds since the Epoch.
char * strerror(int errno)
Retrieve string representation of error number.
EFI Runtime Services Table.
EFI Time Abstraction: Year: 1900 - 9999 Month: 1 - 12 Day: 1 - 31 Hour: 0 - 23 Minute: 0 - 59 Second:...
int tm_mon
Month of year [0,11].
int tm_year
Years since 1900.
int tm_sec
Seconds [0,60].
int tm_mday
Day of month [1,31].
int tm_min
Minutes [0,59].
time_t mktime(struct tm *tm)
Calculate seconds since the Epoch.