]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Nt32Pkg/RealTimeClockRuntimeDxe/RealTimeClock.c
Update NT32 emulation platform to produce dummy CPU I/O 2 Protocol.
[mirror_edk2.git] / Nt32Pkg / RealTimeClockRuntimeDxe / RealTimeClock.c
index 59adc649524f5d6b1b1fa5f2f93d67d36419a37a..bc4f3a3c0d7efc2f6962562cc6dd29501f89b973 100644 (file)
@@ -1,4 +1,4 @@
-/*++\r
+/**@file\r
 \r
 Copyright (c) 2006, Intel Corporation                                                         \r
 All rights reserved. This program and the accompanying materials                          \r
@@ -17,14 +17,16 @@ Abstract:
 \r
   NT Emulation Architectural Protocol Driver as defined in Tiano\r
 \r
---*/\r
-\r
+**/\r
 \r
+#include <Uefi.h>\r
+#include <WinNtDxe.h>\r
+#include <Protocol/RealTimeClock.h>\r
+#include <Library/DebugLib.h>\r
+#include <Library/UefiDriverEntryPoint.h>\r
+#include <Library/WinNtLib.h>\r
+#include <Library/UefiBootServicesTableLib.h>\r
 \r
-//\r
-// Include common header file for this module.\r
-//\r
-#include "CommonHeader.h"\r
 \r
 BOOLEAN\r
 DayValid (\r
@@ -48,7 +50,6 @@ InitializeRealTimeClock (
   IN EFI_SYSTEM_TABLE                    *SystemTable\r
   );\r
 \r
-STATIC\r
 EFI_STATUS\r
 EFIAPI\r
 WinNtGetTime (\r
@@ -114,7 +115,6 @@ Returns:
   return EFI_SUCCESS;\r
 }\r
 \r
-STATIC\r
 EFI_STATUS\r
 EFIAPI\r
 WinNtSetTime (\r
@@ -181,7 +181,6 @@ Returns:
   }\r
 }\r
 \r
-STATIC\r
 EFI_STATUS\r
 EFIAPI\r
 WinNtGetWakeupTime (\r
@@ -217,7 +216,6 @@ Returns:
   return EFI_UNSUPPORTED;\r
 }\r
 \r
-STATIC\r
 EFI_STATUS\r
 EFIAPI\r
 WinNtSetWakeupTime (\r