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