X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FProtocol%2FDebugPort.h;h=e7295b1afd90a5e2a6d025a6e2319c8565fe4034;hb=9095d37b8fe5bfc3d02adad6ba7fd7359ebc0107;hp=2e09033b10859150e82a77f1beffad4b399d48aa;hpb=d1102dba7210b95e41d06c2338a22ba6af248645;p=mirror_edk2.git diff --git a/MdePkg/Include/Protocol/DebugPort.h b/MdePkg/Include/Protocol/DebugPort.h index 2e09033b10..e7295b1afd 100644 --- a/MdePkg/Include/Protocol/DebugPort.h +++ b/MdePkg/Include/Protocol/DebugPort.h @@ -1,17 +1,17 @@ /** @file - + The file defines the EFI Debugport protocol. This protocol is used by debug agent to communicate with the remote debug host. - - Copyright (c) 2006 - 2013, Intel Corporation. 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. + Copyright (c) 2006 - 2018, Intel Corporation. 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. **/ @@ -35,14 +35,14 @@ typedef struct _EFI_DEBUGPORT_PROTOCOL EFI_DEBUGPORT_PROTOCOL; // DebugPort member functions // -/** +/** Resets the debugport. - + @param This A pointer to the EFI_DEBUGPORT_PROTOCOL instance. - + @retval EFI_SUCCESS The debugport device was reset and is in usable state. @retval EFI_DEVICE_ERROR The debugport device could not be reset and is unusable. - + **/ typedef EFI_STATUS @@ -50,19 +50,19 @@ EFI_STATUS IN EFI_DEBUGPORT_PROTOCOL *This ); -/** +/** Writes data to the debugport. - + @param This A pointer to the EFI_DEBUGPORT_PROTOCOL instance. @param Timeout The number of microseconds to wait before timing out a write operation. @param BufferSize On input, the requested number of bytes of data to write. On output, the number of bytes of data actually written. - @param Buffer A pointer to a buffer containing the data to write. - + @param Buffer A pointer to a buffer containing the data to write. + @retval EFI_SUCCESS The data was written. @retval EFI_DEVICE_ERROR The device reported an error. @retval EFI_TIMEOUT The data write was stopped due to a timeout. - + **/ typedef EFI_STATUS @@ -73,20 +73,20 @@ EFI_STATUS IN VOID *Buffer ); -/** +/** Reads data from the debugport. - + @param This A pointer to the EFI_DEBUGPORT_PROTOCOL instance. @param Timeout The number of microseconds to wait before timing out a read operation. @param BufferSize On input, the requested number of bytes of data to read. On output, the number of bytes of data actually number of bytes of data read and returned in Buffer. @param Buffer A pointer to a buffer into which the data read will be saved. - + @retval EFI_SUCCESS The data was read. @retval EFI_DEVICE_ERROR The device reported an error. @retval EFI_TIMEOUT The operation was stopped due to a timeout or overrun. - + **/ typedef EFI_STATUS @@ -97,15 +97,15 @@ EFI_STATUS OUT VOID *Buffer ); -/** +/** Checks to see if any data is available to be read from the debugport device. - + @param This A pointer to the EFI_DEBUGPORT_PROTOCOL instance. - + @retval EFI_SUCCESS At least one byte of data is available to be read. @retval EFI_DEVICE_ERROR The debugport device is not functioning correctly. @retval EFI_NOT_READY No data is available to be read. - + **/ typedef EFI_STATUS