]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Library/EdkUefiRuntimeLib/Ipf/RuntimeLib.c
Add some definitions for efi event in Uefi/UefiSpec.h to follow spec.
[mirror_edk2.git] / EdkModulePkg / Library / EdkUefiRuntimeLib / Ipf / RuntimeLib.c
index f6a19041433b1d1d3d89a54c873d3154df474b61..71a7bf9b6c908c2a88bc3b76f755a0e38379e74d 100644 (file)
@@ -1,13 +1,13 @@
 /*++\r
 \r
-Copyright (c) 2006, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
-are licensed and made available under the terms and conditions of the BSD License         \r
-which accompanies this distribution.  The full text of the license may be found at        \r
-http://opensource.org/licenses/bsd-license.php                                            \r
-                                                                                          \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+Copyright (c) 2006, Intel Corporation\r
+All rights reserved. This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution.  The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
 Module Name:\r
 \r
@@ -38,10 +38,10 @@ Routine Description:
 Arguments:\r
 \r
   Event   - The Event that is being processed\r
-  \r
+\r
   Context - Event Context\r
 \r
-Returns: \r
+Returns:\r
 \r
   None\r
 \r
@@ -64,16 +64,16 @@ RuntimeLibVirtualNotifyEvent (
 Routine Description:\r
 \r
   Fixup internal data so that EFI can be call in virtual mode.\r
-  Call the passed in Child Notify event and convert any pointers in \r
+  Call the passed in Child Notify event and convert any pointers in\r
   lib to virtual mode.\r
 \r
 Arguments:\r
 \r
   Event   - The Event that is being processed\r
-  \r
+\r
   Context - Event Context\r
 \r
-Returns: \r
+Returns:\r
 \r
   None\r
 \r
@@ -103,12 +103,12 @@ RuntimeDriverLibConstruct (
 \r
 Routine Description:\r
 \r
-  Intialize runtime Driver Lib if it has not yet been initialized. \r
+  Intialize runtime Driver Lib if it has not yet been initialized.\r
 \r
 Arguments:\r
 \r
   ImageHandle     - The firmware allocated handle for the EFI image.\r
-  \r
+\r
   SystemTable     - A pointer to the EFI System Table.\r
 \r
   GoVirtualChildEvent - Caller can register a virtual notification event.\r
@@ -128,8 +128,8 @@ Returns:
   //\r
   if (_gDriverSetVirtualAddressMapEvent[0] != NULL) {\r
     Status = gBS->CreateEvent (\r
-                    EFI_EVENT_SIGNAL_VIRTUAL_ADDRESS_CHANGE,\r
-                    EFI_TPL_NOTIFY,\r
+                    EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE,\r
+                    TPL_NOTIFY,\r
                     RuntimeLibVirtualNotifyEvent,\r
                     NULL,\r
                     &mEfiVirtualNotifyEvent\r
@@ -151,14 +151,14 @@ RuntimeDriverLibDeconstruct (
 Routine Description:\r
 \r
   This routine will free some resources which have been allocated in\r
-  EfiInitializeRuntimeDriverLib(). If a runtime driver exits with an error, \r
+  EfiInitializeRuntimeDriverLib(). If a runtime driver exits with an error,\r
   it must call this routine to free the allocated resource before the exiting.\r
 \r
 Arguments:\r
 \r
   None\r
 \r
-Returns: \r
+Returns:\r
 \r
   EFI_SUCCESS     - Shotdown the Runtime Driver Lib successfully\r
   EFI_UNSUPPORTED - Runtime Driver lib was not initialized at all\r
@@ -191,7 +191,7 @@ Routine Description:
 Arguments:\r
   NONE\r
 \r
-Returns: \r
+Returns:\r
   TRUE - If ExitBootService () has been called\r
 \r
 --*/\r
@@ -220,7 +220,7 @@ Routine Description:
 Arguments:\r
   NONE\r
 \r
-Returns: \r
+Returns:\r
   TRUE - If SetVirtualAddressMap () has been called\r
 \r
 --*/\r