37 UINT8 CenturyRtcAddress;
45#define RTC_ADDRESS_SECONDS 0
46#define RTC_ADDRESS_SECONDS_ALARM 1
47#define RTC_ADDRESS_MINUTES 2
48#define RTC_ADDRESS_MINUTES_ALARM 3
49#define RTC_ADDRESS_HOURS 4
50#define RTC_ADDRESS_HOURS_ALARM 5
51#define RTC_ADDRESS_DAY_OF_THE_WEEK 6
52#define RTC_ADDRESS_DAY_OF_THE_MONTH 7
53#define RTC_ADDRESS_MONTH 8
54#define RTC_ADDRESS_YEAR 9
55#define RTC_ADDRESS_REGISTER_A 10
56#define RTC_ADDRESS_REGISTER_B 11
57#define RTC_ADDRESS_REGISTER_C 12
58#define RTC_ADDRESS_REGISTER_D 13
63#define RTC_INIT_SECOND 0
64#define RTC_INIT_MINUTE 0
65#define RTC_INIT_HOUR 0
67#define RTC_INIT_MONTH 1
73#define RTC_DIV_RESET 0x70
227 OUT BOOLEAN *Enabled,
228 OUT BOOLEAN *Pending,
EFI_STATUS EFIAPI Set(IN EMBEDDED_GPIO *This, IN EMBEDDED_GPIO_PIN Gpio, IN EMBEDDED_GPIO_MODE Mode)
UINT8 GetCenturyRtcAddress(VOID)
BOOLEAN DayValid(IN EFI_TIME *Time)
EFI_STATUS PcRtcSetWakeupTime(IN BOOLEAN Enable, IN EFI_TIME *Time OPTIONAL, IN PC_RTC_MODULE_GLOBALS *Global)
EFI_STATUS RtcWaitToUpdate(UINTN Timeout)
EFI_STATUS EFIAPI InitializePcRtc(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
EFI_STATUS PcRtcInit(IN PC_RTC_MODULE_GLOBALS *Global)
BOOLEAN IsLeapYear(IN EFI_TIME *Time)
EFI_STATUS ConvertRtcTimeToEfiTime(IN OUT EFI_TIME *Time, IN RTC_REGISTER_B RegisterB)
EFI_STATUS PcRtcGetWakeupTime(OUT BOOLEAN *Enabled, OUT BOOLEAN *Pending, OUT EFI_TIME *Time, IN PC_RTC_MODULE_GLOBALS *Global)
EFI_STATUS PcRtcGetTime(OUT EFI_TIME *Time, OUT EFI_TIME_CAPABILITIES *Capabilities OPTIONAL, IN PC_RTC_MODULE_GLOBALS *Global)
VOID ConvertEfiTimeToRtcTime(IN OUT EFI_TIME *Time, IN RTC_REGISTER_B RegisterB)
EFI_STATUS PcRtcSetTime(IN EFI_TIME *Time, IN PC_RTC_MODULE_GLOBALS *Global)
EFI_STATUS RtcTimeFieldsValid(IN EFI_TIME *Time)
VOID EFIAPI PcRtcAcpiTableChangeCallback(IN EFI_EVENT Event, IN VOID *Context)