]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkPkg/Include/Protocol/CpuIo.h
clean coding style issue
[mirror_edk2.git] / IntelFrameworkPkg / Include / Protocol / CpuIo.h
index 38f910ea94a71a4e7ecdf1815046d63147774b5f..d79f9b49cfe211e16163c0667483773afa807cfc 100644 (file)
@@ -1,5 +1,6 @@
 /** @file\r
-  This code abstracts the CPU IO Protocol\r
+  This code abstracts the CPU IO Protocol which installed by some platform or chipset-specific \r
+  PEIM that abstracts the processor-visible I/O operations.\r
 \r
   Copyright (c) 2007, Intel Corporation\r
   All rights reserved. This program and the accompanying materials\r
@@ -21,6 +22,8 @@
 #ifndef _CPUIO_H_\r
 #define _CPUIO_H_\r
 \r
+#include <PiDxe.h>\r
+\r
 #define EFI_CPU_IO_PROTOCOL_GUID \\r
   { \\r
     0xB0732526, 0x38C8, 0x4b40, {0x88, 0x77, 0x61, 0xC7, 0xB0, 0x6A, 0xAC, 0x45 } \\r
@@ -74,12 +77,12 @@ typedef enum {
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_CPU_IO_PROTOCOL_IO_MEM) (\r
-  IN EFI_CPU_IO_PROTOCOL                *This,\r
-  IN  EFI_CPU_IO_PROTOCOL_WIDTH         Width,\r
-  IN  UINT64                            Address,\r
-  IN  UINTN                             Count,\r
-  IN  OUT VOID                          *Buffer\r
+(EFIAPI *EFI_CPU_IO_PROTOCOL_IO_MEM)(\r
+  IN     EFI_CPU_IO_PROTOCOL               *This,\r
+  IN     EFI_CPU_IO_PROTOCOL_WIDTH         Width,\r
+  IN     UINT64                            Address,\r
+  IN     UINTN                             Count,\r
+  IN OUT VOID                              *Buffer\r
   );\r
 \r
 //\r