]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Nt32Pkg/ResetRuntimeDxe/reset.c
Add declaration header file for token space.
[mirror_edk2.git] / Nt32Pkg / ResetRuntimeDxe / reset.c
index a4df52f19a3538b4f2d00814a6d6637fe1b87510..e498a3415d3d5b7969796e35966fcdebb481c1a7 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
   Reset Architectural Protocol as defined in Tiano under NT Emulation\r
 \r
---*/\r
-\r
+**/\r
 \r
+#include <Uefi.h>\r
+#include <WinNtDxe.h>\r
+#include <Protocol/Reset.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
 EFI_STATUS\r
 EFIAPI\r
@@ -33,14 +35,13 @@ InitializeNtReset (
   IN EFI_SYSTEM_TABLE  *SystemTable\r
   );\r
 \r
-STATIC\r
-EFI_STATUS\r
+VOID\r
 EFIAPI\r
 WinNtResetSystem (\r
   IN EFI_RESET_TYPE   ResetType,\r
   IN EFI_STATUS       ResetStatus,\r
   IN UINTN            DataSize,\r
-  IN CHAR16           *ResetData OPTIONAL\r
+  IN VOID             *ResetData OPTIONAL\r
   );\r
 \r
 \r
@@ -83,14 +84,13 @@ Returns:
   return Status;\r
 }\r
 \r
-STATIC\r
-EFI_STATUS\r
+VOID\r
 EFIAPI\r
 WinNtResetSystem (\r
   IN EFI_RESET_TYPE   ResetType,\r
   IN EFI_STATUS       ResetStatus,\r
   IN UINTN            DataSize,\r
-  IN CHAR16           *ResetData OPTIONAL\r
+  IN VOID             *ResetData OPTIONAL\r
   )\r
 /*++\r
 \r
@@ -122,5 +122,5 @@ Returns:
   //\r
   // Should never go here\r
   //\r
-  return EFI_SUCCESS;\r
+  ASSERT (FALSE);\r
 }\r