]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/UgaIo.h
Correct ECC Error for MdePkg/Include/Protocol and Correct PeCofferLib bug to set...
[mirror_edk2.git] / MdePkg / Include / Protocol / UgaIo.h
index 5457920aecbb0db830a55d66e1ffa133be5c2a85..19dee485f6952b50a646061f19768a9142a81a95 100644 (file)
@@ -54,10 +54,6 @@ typedef struct _UGA_DEVICE {
 }\r
 UGA_DEVICE, *PUGA_DEVICE;\r
 \r
-#ifndef UGA_IO_REQUEST_CODE\r
-//\r
-// Prevent conflicts with UGA typedefs.\r
-//\r
 typedef enum {\r
   UgaIoGetVersion             = 1,\r
   UgaIoGetChildDevice,\r
@@ -85,8 +81,6 @@ typedef enum {
 }\r
 UGA_IO_REQUEST_CODE, *PUGA_IO_REQUEST_CODE;\r
 \r
-#endif\r
-\r
 typedef struct {\r
   IN UGA_IO_REQUEST_CODE  ioRequestCode;\r
   IN VOID                 *pvInBuffer;\r
@@ -146,32 +140,30 @@ EFI_STATUS
   IN UGA_DEVICE           * Device\r
   );\r
 \r
-\r
-typedef UGA_STATUS (EFIAPI *PUGA_FW_SERVICE_DISPATCH)(IN PUGA_DEVICE pDevice, IN OUT PUGA_IO_REQUEST pIoRequest);\r
-\r
 /**\r
+  This is the main UGA service dispatch routine for all UGA_IO_REQUEST s.\r
 \r
-  Routine Description:\r
-\r
-    This is the main UGA service dispatch routine for all UGA_IO_REQUEST s.\r
-\r
-  Arguments:\r
-\r
-    pDevice    - pDevice specifies a pointer to a device object associated with a \r
+  @param pDevice pDevice specifies a pointer to a device object associated with a \r
                  device enumerated by a pIoRequest->ioRequestCode of type \r
                  UgaIoGetChildDevice. The root device for the EFI_UGA_IO_PROTOCOL \r
                  is represented by pDevice being set to NULL.\r
 \r
-    pIoRequest - pIoRequest points to a caller allocated buffer that contains data\r
+  @param pIoRequest \r
+                 pIoRequest points to a caller allocated buffer that contains data\r
                  defined by pIoRequest->ioRequestCode. See Related Definitions for\r
                  a definition of UGA_IO_REQUEST_CODE s and their associated data \r
                  structures.\r
 \r
-  Returns:\r
-\r
-  Varies depending on pIoRequest.\r
+  @return UGA_STATUS\r
 \r
 **/\r
+typedef UGA_STATUS \r
+(EFIAPI *PUGA_FW_SERVICE_DISPATCH)(\r
+  IN PUGA_DEVICE pDevice, \r
+  IN OUT PUGA_IO_REQUEST pIoRequest\r
+  );\r
+\r
+\r
 struct _EFI_UGA_IO_PROTOCOL {\r
   EFI_UGA_IO_PROTOCOL_CREATE_DEVICE CreateDevice;\r
   EFI_UGA_IO_PROTOCOL_DELETE_DEVICE DeleteDevice;\r