summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Protocol/TapeIo.h
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Include/Protocol/TapeIo.h')
-rw-r--r--MdePkg/Include/Protocol/TapeIo.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/MdePkg/Include/Protocol/TapeIo.h b/MdePkg/Include/Protocol/TapeIo.h
index 222f5b5aed..07afb9598e 100644
--- a/MdePkg/Include/Protocol/TapeIo.h
+++ b/MdePkg/Include/Protocol/TapeIo.h
@@ -2,14 +2,14 @@
EFI_TAPE_IO_PROTOCOL as defined in the UEFI 2.0.
Provide services to control and access a tape device.
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
-This program and the accompanying materials are licensed and made available under
-the terms and conditions of the BSD License that accompanies this distribution.
+Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
+This program and the accompanying materials are licensed and made available under
+the terms and conditions of the BSD License that 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.
+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.
**/
@@ -70,13 +70,13 @@ typedef struct _EFI_TAPE_HEADER {
from the media.
**/
-typedef
+typedef
EFI_STATUS
(EFIAPI *EFI_TAPE_READ)(
IN EFI_TAPE_IO_PROTOCOL *This,
IN OUT UINTN *BufferSize,
OUT VOID *Buffer
- );
+ );
/**
Writes to the tape.
@@ -106,14 +106,14 @@ EFI_STATUS
from the media.
**/
-typedef
+typedef
EFI_STATUS
(EFIAPI *EFI_TAPE_WRITE)(
IN EFI_TAPE_IO_PROTOCOL *This,
IN UINTN *BufferSize,
IN VOID *Buffer
- );
-
+ );
+
/**
Rewinds the tape.
@@ -129,11 +129,11 @@ EFI_STATUS
@retval EFI_DEVICE_ERROR A device error occurred while attempting to reposition the media.
**/
-typedef
+typedef
EFI_STATUS
(EFIAPI *EFI_TAPE_REWIND)(
IN EFI_TAPE_IO_PROTOCOL *This
- );
+ );
/**
@@ -143,7 +143,7 @@ EFI_STATUS
@param Direction Direction and number of data blocks or filemarks to space over on media.
@param Type Type of mark to space over on media.
The following Type marks are mandatory:
- BLOCK type : 0
+ BLOCK type : 0
FILEMARK type : 1
@retval EFI_SUCCESS The media was successfully repositioned.
@@ -166,7 +166,7 @@ EFI_STATUS
IN EFI_TAPE_IO_PROTOCOL *This,
IN INTN Direction,
IN UINTN Type
- );
+ );
/**
@@ -187,12 +187,12 @@ EFI_STATUS
@retval EFI_DEVICE_ERROR A device error occurred while attempting to transfer data from the media.
**/
-typedef
+typedef
EFI_STATUS
(EFIAPI *EFI_TAPE_WRITEFM)(
IN EFI_TAPE_IO_PROTOCOL *This,
IN UINTN Count
- );
+ );
/**
@@ -210,17 +210,17 @@ EFI_STATUS
@retval EFI_DEVICE_ERROR A device error occurred while attempting to reset the bus and/or device.
**/
-typedef
+typedef
EFI_STATUS
(EFIAPI *EFI_TAPE_RESET)(
IN EFI_TAPE_IO_PROTOCOL *This,
IN BOOLEAN ExtendedVerification
- );
+ );
///
-/// The EFI_TAPE_IO_PROTOCOL provides basic sequential operations for tape devices.
-/// These include read, write, rewind, space, write filemarks and reset functions.
-/// Per this specification, a boot application uses the services of this protocol
+/// The EFI_TAPE_IO_PROTOCOL provides basic sequential operations for tape devices.
+/// These include read, write, rewind, space, write filemarks and reset functions.
+/// Per this specification, a boot application uses the services of this protocol
/// to load the bootloader image from tape.
///
struct _EFI_TAPE_IO_PROTOCOL {