iPXE
|
EFI time source. More...
#include <string.h>
#include <errno.h>
#include <time.h>
#include <ipxe/time.h>
#include <ipxe/efi/efi.h>
Go to the source code of this file.
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
static time_t | efi_get_time (void) |
Get current time in seconds. More... | |
PROVIDE_TIME (efi, time_now, efi_get_time) | |
EFI time source.
Definition in file efi_time.c.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
static |
Get current time in seconds.
time | Time, in seconds |
Definition at line 43 of file efi_time.c.
References DBGC, EEFI, efi_systab, EFI_RUNTIME_SERVICES::GetTime, memset(), mktime(), NULL, rc, EFI_SYSTEM_TABLE::RuntimeServices, strerror(), time, tm::tm_hour, tm::tm_mday, tm::tm_min, tm::tm_mon, tm::tm_sec, and tm::tm_year.
PROVIDE_TIME | ( | efi | , |
time_now | , | ||
efi_get_time | |||
) |