X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EmbeddedPkg%2FInclude%2FProtocol%2FEmbeddedExternalDevice.h;h=a197c572e7f30691c65d5f13f49e84b4cefd50a7;hp=603dc5ed86d3734a81be84c4c8d13ce2e375798a;hb=HEAD;hpb=1e57a46299244793beb27e74be171d1540606999 diff --git a/EmbeddedPkg/Include/Protocol/EmbeddedExternalDevice.h b/EmbeddedPkg/Include/Protocol/EmbeddedExternalDevice.h index 603dc5ed86..52c7fb6723 100644 --- a/EmbeddedPkg/Include/Protocol/EmbeddedExternalDevice.h +++ b/EmbeddedPkg/Include/Protocol/EmbeddedExternalDevice.h @@ -2,13 +2,7 @@ Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
- This program and the accompanying materials - are licensed and made available under the terms and conditions of the BSD License - which accompanies this distribution. The full text of the license may be found at - http://opensource.org/licenses/bsd-license.php - - THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + SPDX-License-Identifier: BSD-2-Clause-Patent **/ @@ -18,7 +12,7 @@ // // Protocol GUID // -#define EMBEDDED_EXTERNAL_DEVICE_PROTOCOL_GUID { 0x735F8C64, 0xD696, 0x44D0, { 0xBD, 0xF2, 0x44, 0x7F, 0xD0, 0x5A, 0x54, 0x06 }} +#define EMBEDDED_EXTERNAL_DEVICE_PROTOCOL_GUID { 0x735F8C64, 0xD696, 0x44D0, { 0xBD, 0xF2, 0x44, 0x7F, 0xD0, 0x5A, 0x54, 0x06 }} // // Protocol interface structure @@ -30,12 +24,13 @@ typedef struct _EMBEDDED_EXTERNAL_DEVICE EMBEDDED_EXTERNAL_DEVICE; // typedef EFI_STATUS -(EFIAPI *EMBEDDED_EXTERNAL_DEVICE_READ) ( - IN EMBEDDED_EXTERNAL_DEVICE *This, - IN UINTN Register, - IN UINTN Length, - OUT VOID *Buffer - ) +(EFIAPI *EMBEDDED_EXTERNAL_DEVICE_READ)( + IN EMBEDDED_EXTERNAL_DEVICE *This, + IN UINTN Register, + IN UINTN Length, + OUT VOID *Buffer + ) + /*++ Routine Description: @@ -48,7 +43,7 @@ Arguments: Offset - starting register number Length - number of bytes to read Buffer - destination buffer - + Returns: EFI_SUCCESS - registers read successfully @@ -58,12 +53,13 @@ Returns: typedef EFI_STATUS -(EFIAPI *EMBEDDED_EXTERNAL_DEVICE_WRITE) ( - IN EMBEDDED_EXTERNAL_DEVICE *This, - IN UINTN Register, - IN UINTN Length, - IN VOID *Buffer - ) +(EFIAPI *EMBEDDED_EXTERNAL_DEVICE_WRITE)( + IN EMBEDDED_EXTERNAL_DEVICE *This, + IN UINTN Register, + IN UINTN Length, + IN VOID *Buffer + ) + /*++ Routine Description: @@ -76,7 +72,7 @@ Arguments: Offset - starting register number Length - number of bytes to write Buffer - source buffer - + Returns: EFI_SUCCESS - registers written successfully @@ -85,10 +81,10 @@ Returns: ; struct _EMBEDDED_EXTERNAL_DEVICE { - EMBEDDED_EXTERNAL_DEVICE_READ Read; - EMBEDDED_EXTERNAL_DEVICE_WRITE Write; + EMBEDDED_EXTERNAL_DEVICE_READ Read; + EMBEDDED_EXTERNAL_DEVICE_WRITE Write; }; -extern EFI_GUID gEmbeddedExternalDeviceProtocolGuid; +extern EFI_GUID gEmbeddedExternalDeviceProtocolGuid; -#endif // __EMBEDDED_EXTERNAL_DEVICE_H__ +#endif // __EMBEDDED_EXTERNAL_DEVICE_H__