diff options
Diffstat (limited to 'MdePkg/Include/Protocol/DeviceIo.h')
-rw-r--r-- | MdePkg/Include/Protocol/DeviceIo.h | 36 |
1 files changed, 35 insertions, 1 deletions
diff --git a/MdePkg/Include/Protocol/DeviceIo.h b/MdePkg/Include/Protocol/DeviceIo.h index da3eee4269..0bc4394904 100644 --- a/MdePkg/Include/Protocol/DeviceIo.h +++ b/MdePkg/Include/Protocol/DeviceIo.h @@ -4,7 +4,7 @@ Device IO is used to abstract hardware access to devices. It includes
memory mapped IO, IO, PCI Config space, and DMA.
- Copyright (c) 2006, Intel Corporation
+ Copyright (c) 2006 - 2008, 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
@@ -213,6 +213,40 @@ EFI_STATUS IN EFI_PHYSICAL_ADDRESS HostAddress
);
+/**
+ @par Protocol Description:
+ This protocol provides the basic Memory, I/O, and PCI interfaces that
+ are used to abstract accesses to devices.
+
+ @param Mem
+ Allows reads and writes to memory mapped I/O space.
+
+ @param Io
+ Allows reads and writes to I/O space.
+
+ @param Pci
+ Allows reads and writes to PCI configuration space.
+
+ @param Map
+ Provides the device specific addresses needed to access system memory for DMA.
+
+ @param PciDevicePath
+ Provides an EFI Device Path for a PCI device with the given PCI
+ configuration space address.
+
+ @param Unmap
+ Releases any resources allocated by Map().
+
+ @param AllocateBuffer
+ Allocates pages that are suitable for a common buffer mapping.
+
+ @param Flush
+ Flushes any posted write data to the device.
+
+ @param FreeBuffer
+ Free pages that were allocated with AllocateBuffer().
+
+**/
struct _EFI_DEVICE_IO_PROTOCOL {
EFI_IO_ACCESS Mem;
EFI_IO_ACCESS Io;
|