]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/TapeIo.h
Updating processor bindings to not use stdint.h. Also added code to verify at compil...
[mirror_edk2.git] / MdePkg / Include / Protocol / TapeIo.h
index e128fe4c9c736f61ac6fe5e217cae96ac8a278da..00a046081eefc1d23a65b7a0c64b5134aef926f8 100644 (file)
@@ -23,7 +23,7 @@
 \r
 typedef struct _EFI_TAPE_IO_PROTOCOL EFI_TAPE_IO_PROTOCOL;\r
 \r
-typedef struct {\r
+typedef struct _EFI_TAPE_HEADER {\r
   UINT64     Signature;\r
   UINT32     Revision;\r
   UINT32     BootDescSize;\r
@@ -41,7 +41,7 @@ typedef struct {
   CHAR8      SystemName[256];  // UTF-8\r
   CHAR8      TapeTitle[120];   // UTF-8\r
   CHAR8      pad[468];         // pad to 1024\r
-} TAPE_HEADER;\r
+} EFI_TAPE_HEADER;\r
 \r
 /**\r
   Reads from the tape.\r
@@ -164,8 +164,8 @@ typedef
 EFI_STATUS\r
 (EFIAPI *EFI_TAPE_SPACE)(\r
   IN EFI_TAPE_IO_PROTOCOL *This,\r
-  INTN                    Direction,\r
-  UINTN                   Type\r
+  IN INTN                 Direction,\r
+  IN UINTN                Type\r
   );   \r
 \r
 \r
@@ -217,31 +217,12 @@ EFI_STATUS
   IN BOOLEAN              ExtendedVerification\r
   );    \r
 \r
-/**  \r
-  @par Protocol Description:\r
-  The EFI_TAPE_IO_PROTOCOL provides basic sequential operations for tape devices. \r
-  These include read, write, rewind, space, write filemarks and reset functions. \r
-  Per this specification, a boot application uses the services of this protocol \r
-  to load the bootloader image from tape.\r
-\r
-  @param TapeRead\r
-  Read a block of data from the tape. \r
-\r
-  @param TapeWrite\r
-  Write a block of data to the tape. \r
-\r
-  @param TapeRewind\r
-  Rewind the tape. \r
-\r
-  @param TapeSpace\r
-  Position the tape. \r
-\r
-  @param TapeWriteFM\r
-  Write filemarks to the tape. \r
-\r
-  @param TapeReset\r
-  Reset the tape device or its parent bus. \r
-**/\r
+///\r
+/// The EFI_TAPE_IO_PROTOCOL provides basic sequential operations for tape devices. \r
+/// These include read, write, rewind, space, write filemarks and reset functions. \r
+/// Per this specification, a boot application uses the services of this protocol \r
+/// to load the bootloader image from tape.\r
+///\r
 struct _EFI_TAPE_IO_PROTOCOL {\r
   EFI_TAPE_READ           TapeRead;\r
   EFI_TAPE_WRITE          TapeWrite;\r