]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/RuntimeDxe/Runtime.h
Move NEXT_MEMORY_DESCRIPTOR() from UefiSpec.h to UEFI Library
[mirror_edk2.git] / MdeModulePkg / Core / RuntimeDxe / Runtime.h
index c19cc733fd9c0ad662a809f9ac2d013577618392..4d6c6199d6ca9962105c69a77c586c23522e2bfd 100644 (file)
@@ -17,16 +17,16 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #ifndef _RUNTIME_H_\r
 #define _RUNTIME_H_\r
 \r
-#include <PiDxe.h>\r
+#include <Uefi.h>\r
 #include <Protocol/LoadedImage.h>\r
 #include <Protocol/Runtime.h>\r
 #include <Library/BaseLib.h>\r
 #include <Library/UefiDriverEntryPoint.h>\r
 #include <Library/DebugLib.h>\r
 #include <Library/ReportStatusCodeLib.h>\r
-#include <Library/BaseMemoryLib.h>\r
 #include <Library/UefiRuntimeServicesTableLib.h>\r
 #include <Library/UefiBootServicesTableLib.h>\r
+#include <Library/UefiLib.h>\r
 #include <Library/CacheMaintenanceLib.h>\r
 #include <Library/PeCoffLib.h>\r
 #include <Library/PcdLib.h>\r
@@ -53,8 +53,7 @@ RuntimeDriverCalculateCrc32 (
   IN  VOID    *Data,\r
   IN  UINTN   DataSize,\r
   OUT UINT32  *CrcOut\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   Determines the new virtual address that is to be used on subsequent memory accesses.\r
@@ -75,8 +74,7 @@ EFIAPI
 RuntimeDriverConvertPointer (\r
   IN     UINTN  DebugDisposition,\r
   IN OUT VOID   **ConvertAddress\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   Changes the runtime addressing mode of EFI firmware from physical to virtual.\r
@@ -104,8 +102,7 @@ RuntimeDriverSetVirtualAddressMap (
   IN UINTN                  DescriptorSize,\r
   IN UINT32                 DescriptorVersion,\r
   IN EFI_MEMORY_DESCRIPTOR  *VirtualMap\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   Initialize CRC32 table.\r
@@ -114,8 +111,7 @@ RuntimeDriverSetVirtualAddressMap (
 VOID\r
 RuntimeDriverInitializeCrc32Table (\r
   VOID\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   Install Runtime AP. This code includes the EfiRuntimeLib, but it only\r
@@ -134,7 +130,6 @@ EFIAPI
 RuntimeDriverInitialize (\r
   IN EFI_HANDLE                            ImageHandle,\r
   IN EFI_SYSTEM_TABLE                      *SystemTable\r
-  )\r
-;\r
+  );\r
 \r
 #endif\r