UGA IO protocol from the EFI 1.10 specification.\r
\r
Abstraction of a very simple graphics device.\r
- \r
- Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
- 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 - 2018, Intel Corporation. All rights reserved.<BR>\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
/**\r
Dynamically allocate storage for a child UGA_DEVICE.\r
\r
- @param[in] This The EFI_UGA_IO_PROTOCOL instance. \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. \r
- @param[in] RunTimeContext Context to associate with Device. \r
+ 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.\r
\r
- \r
+\r
@retval EFI_SUCCESS Device was returned.\r
@retval EFI_INVALID_PARAMETER One of the arguments was not valid.\r
@retval EFI_DEVICE_ERROR The device had an error and could not complete the request.\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
+ @param[in] This The EFI_UGA_IO_PROTOCOL instance. Type EFI_UGA_IO_PROTOCOL is\r
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
+\r
@retval EFI_SUCCESS Device was returned.\r
@retval EFI_INVALID_PARAMETER The Device was not allocated via CreateDevice().\r
\r
/**\r
This is the main UGA service dispatch routine for all UGA_IO_REQUEST s.\r
\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
+ @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
- @param pIoRequest \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
+ a definition of UGA_IO_REQUEST_CODE s and their associated data\r
structures.\r
\r
@return UGA_STATUS\r
\r
**/\r
-typedef UGA_STATUS \r
+typedef UGA_STATUS\r
(EFIAPI *PUGA_FW_SERVICE_DISPATCH)(\r
- IN PUGA_DEVICE pDevice, \r
+ IN PUGA_DEVICE pDevice,\r
IN OUT PUGA_IO_REQUEST pIoRequest\r
);\r
\r