]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/DeviceIo.h
Add TPM related definitions.
[mirror_edk2.git] / MdePkg / Include / Protocol / DeviceIo.h
index 643c810a3483c3abe24d5d8c8b5352216815d7d8..760ca9b471e68718c34b24bc462f042c7567ef7c 100644 (file)
@@ -1,5 +1,5 @@
 /** @file\r
-  Device IO protocol as defined in the EFI 1.0 specification.\r
+  Device IO protocol as defined in the EFI 1.10 specification.\r
 \r
   Device IO is used to abstract hardware access to devices. It includes\r
   memory mapped IO, IO, PCI Config space, and DMA.\r
@@ -13,8 +13,6 @@
   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
 \r
-  Module Name:  DeviceIo.h\r
-\r
 **/\r
 \r
 #ifndef __DEVICE_IO_H__\r
 \r
 typedef struct _EFI_DEVICE_IO_PROTOCOL EFI_DEVICE_IO_PROTOCOL;\r
 \r
+//\r
+// Protocol GUID name defined in EFI1.1.\r
+// \r
+#define DEVICE_IO_PROTOCOL  EFI_DEVICE_IO_PROTOCOL_GUID\r
+\r
+//\r
+// Protocol defined in EFI1.1.\r
+// \r
+typedef EFI_DEVICE_IO_PROTOCOL  EFI_DEVICE_IO_INTERFACE;\r
+\r
 typedef enum {\r
   IO_UINT8,\r
   IO_UINT16,\r