]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/UgaIo.h
fix one bug in (EFIAPI *EFI_HII_ACCESS_FORM_CALLBACK)(), it is not aligned with spec
[mirror_edk2.git] / MdePkg / Include / Protocol / UgaIo.h
index 50fb3d569a0a9d13c7d00585997000dcac999016..0c4d54d125934b73d0659fbc52430744b50c4cd5 100644 (file)
@@ -30,8 +30,7 @@ typedef enum {
   UgaDtOutputController,\r
   UgaDtOutputPort,\r
   UgaDtOther\r
-}\r
-UGA_DEVICE_TYPE, *PUGA_DEVICE_TYPE;\r
+} UGA_DEVICE_TYPE, *PUGA_DEVICE_TYPE;\r
 \r
 typedef UINT32 UGA_DEVICE_ID, *PUGA_DEVICE_ID;\r
 \r
@@ -40,8 +39,7 @@ typedef struct {
   UGA_DEVICE_ID   deviceId;\r
   UINT32          ui32DeviceContextSize;\r
   UINT32          ui32SharedContextSize;\r
-}\r
-UGA_DEVICE_DATA, *PUGA_DEVICE_DATA;\r
+} UGA_DEVICE_DATA, *PUGA_DEVICE_DATA;\r
 \r
 typedef struct _UGA_DEVICE {\r
   VOID                *pvDeviceContext;\r
@@ -51,8 +49,7 @@ typedef struct _UGA_DEVICE {
   VOID                *pvBusIoServices;\r
   VOID                *pvStdIoServices;\r
   UGA_DEVICE_DATA     deviceData;\r
-}\r
-UGA_DEVICE, *PUGA_DEVICE;\r
+} UGA_DEVICE, *PUGA_DEVICE;\r
 \r
 typedef enum {\r
   UgaIoGetVersion             = 1,\r
@@ -78,8 +75,7 @@ typedef enum {
   UgaIoGetDevicePropertySize,\r
   UgaIoGetDeviceProperty,\r
   UgaIoBtPrivateInterface\r
-}\r
-UGA_IO_REQUEST_CODE, *PUGA_IO_REQUEST_CODE;\r
+} UGA_IO_REQUEST_CODE, *PUGA_IO_REQUEST_CODE;\r
 \r
 typedef struct {\r
   IN UGA_IO_REQUEST_CODE  ioRequestCode;\r
@@ -91,17 +87,17 @@ typedef struct {
 } UGA_IO_REQUEST, *PUGA_IO_REQUEST;\r
 \r
 \r
-/**
+/**\r
   Dynamically allocate storage for a child UGA_DEVICE .\r
-
-  @param[in]     This            The EFI_UGA_IO_PROTOCOL instance. 
-  @param[in]     ParentDevice    ParentDevice specifies a pointer to the parent device of Device.
+\r
+  @param[in]     This            The EFI_UGA_IO_PROTOCOL instance. \r
+  @param[in]     ParentDevice    ParentDevice specifies a pointer to the parent device of Device.\r
   @param[in]     DeviceData      A pointer to UGA_DEVICE_DATA returned from a call to DispatchService()\r
-                                 with a UGA_DEVICE of Parent and an IoRequest of type UgaIoGetChildDevice.      
-  @param[in]     RunTimeContext  Context to associate with Device.  
+                                 with a UGA_DEVICE of Parent and an IoRequest of type UgaIoGetChildDevice.      \r
+  @param[in]     RunTimeContext  Context to associate with Device.  \r
   @param[out]    Device          The Device returns a dynamically allocated child UGA_DEVICE object\r
-                                 for ParentDevice. The caller is responsible for deleting Device.
-
+                                 for ParentDevice. The caller is responsible for deleting Device.\r
+\r
                                  \r
   @retval  EFI_SUCCESS           Device was returned.\r
   @retval  EFI_INVALID_PARAMETER One of the arguments was not valid.\r
@@ -119,14 +115,14 @@ EFI_STATUS
   );\r
 \r
 \r
-/**
+/**\r
   Delete a dynamically allocated child UGA_DEVICE object that was allocated via CreateDevice() .\r
-
+\r
   @param[in]     This            The EFI_UGA_IO_PROTOCOL instance. Type EFI_UGA_IO_PROTOCOL is \r
-                                 defined in Section 10.7.
+                                 defined in Section 10.7.\r
   @param[in]     Device          The Device points to a UGA_DEVICE object that was dynamically\r
                                  allocated via a CreateDevice() call.\r
-
+\r
                                  \r
   @retval  EFI_SUCCESS           Device was returned.\r
   @retval  EFI_INVALID_PARAMETER The Device was not allocated via CreateDevice().\r
@@ -162,10 +158,9 @@ typedef UGA_STATUS
   IN OUT PUGA_IO_REQUEST pIoRequest\r
   );\r
 \r
-/**  \r
-  @par Protocol Description:\r
-  Provides a basic abstraction to send I/O requests to the graphics device and any of its children.\r
-**/\r
+///\r
+/// Provides a basic abstraction to send I/O requests to the graphics device and any of its children.\r
+///\r
 struct _EFI_UGA_IO_PROTOCOL {\r
   EFI_UGA_IO_PROTOCOL_CREATE_DEVICE CreateDevice;\r
   EFI_UGA_IO_PROTOCOL_DELETE_DEVICE DeleteDevice;\r