]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/PcatRealTimeClockRuntimeDxe/PcRtc.h
fixed DMA not be stopped issue when gBS->ExitBootServices called.
[mirror_edk2.git] / MdeModulePkg / Universal / PcatRealTimeClockRuntimeDxe / PcRtc.h
index 5a6fe762e3e9a327403cf41173a8dafffe11c4f3..5beb0756910d830956ce0dc8bed42a7aab8988b4 100644 (file)
@@ -20,7 +20,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include <Uefi.h>\r
 \r
 #include <Protocol/RealTimeClock.h>\r
-#include <Guid/GenericPlatformVariable.h>\r
 \r
 #include <Library/BaseLib.h>\r
 #include <Library/DebugLib.h>\r
@@ -157,8 +156,7 @@ typedef union {
 EFI_STATUS\r
 PcRtcInit (\r
   IN PC_RTC_MODULE_GLOBALS  *Global\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   Sets the current local time and date information.\r
@@ -175,8 +173,7 @@ EFI_STATUS
 PcRtcSetTime (\r
   IN EFI_TIME               *Time,\r
   IN PC_RTC_MODULE_GLOBALS  *Global\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   Returns the current time and date information, and the time-keeping capabilities\r
@@ -197,8 +194,7 @@ PcRtcGetTime (
   OUT EFI_TIME              *Time,\r
   OUT EFI_TIME_CAPABILITIES *Capabilities, OPTIONAL\r
   IN  PC_RTC_MODULE_GLOBALS *Global\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   Sets the system wakeup alarm clock time.\r
@@ -220,8 +216,7 @@ PcRtcSetWakeupTime (
   IN BOOLEAN                Enable,\r
   IN EFI_TIME               *Time,  OPTIONAL\r
   IN PC_RTC_MODULE_GLOBALS  *Global\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   Returns the current wakeup alarm clock setting.\r
@@ -245,8 +240,7 @@ PcRtcGetWakeupTime (
   OUT BOOLEAN               *Pending,\r
   OUT EFI_TIME              *Time,\r
   IN  PC_RTC_MODULE_GLOBALS *Global\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   The user Entry Point for PcRTC module.\r
@@ -266,8 +260,7 @@ EFIAPI
 InitializePcRtc (\r
   IN EFI_HANDLE                            ImageHandle,\r
   IN EFI_SYSTEM_TABLE                      *SystemTable\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   See if all fields of a variable of EFI_TIME type is correct.\r
@@ -281,8 +274,7 @@ InitializePcRtc (
 EFI_STATUS\r
 RtcTimeFieldsValid (\r
   IN EFI_TIME *Time\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   Converts time from EFI_TIME format defined by UEFI spec to RTC's.\r
@@ -302,8 +294,7 @@ ConvertEfiTimeToRtcTime (
   IN OUT EFI_TIME        *Time,\r
   IN     RTC_REGISTER_B  RegisterB,\r
   OUT    UINT8           *Century\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   See if centry register of RTC is valid.\r
@@ -314,8 +305,7 @@ ConvertEfiTimeToRtcTime (
 EFI_STATUS\r
 RtcTestCenturyRegister (\r
   VOID\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   Converts time read from RTC to EFI_TIME format defined by UEFI spec.\r
@@ -353,8 +343,7 @@ ConvertRtcTimeToEfiTime (
 EFI_STATUS\r
 RtcWaitToUpdate (\r
   UINTN Timeout\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   See if field Day of an EFI_TIME is correct.\r