summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-21 03:18:22 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-21 03:18:22 +0000
commit0365b951352d04c1819553f1b4397ee1e873ffd2 (patch)
treef8ae4a711a20761aa0179d038d922a1b99aa5a02 /MdePkg
parent8404146cfabc30d442a6f73fbfa02e50eaca8373 (diff)
downloadedk2-0365b951352d04c1819553f1b4397ee1e873ffd2.zip
edk2-0365b951352d04c1819553f1b4397ee1e873ffd2.tar.gz
edk2-0365b951352d04c1819553f1b4397ee1e873ffd2.tar.bz2
detab
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6656 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/Protocol/DeviceIo.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/MdePkg/Include/Protocol/DeviceIo.h b/MdePkg/Include/Protocol/DeviceIo.h
index c572089..cab447f 100644
--- a/MdePkg/Include/Protocol/DeviceIo.h
+++ b/MdePkg/Include/Protocol/DeviceIo.h
@@ -36,14 +36,14 @@ typedef struct _EFI_DEVICE_IO_PROTOCOL EFI_DEVICE_IO_PROTOCOL;
typedef EFI_DEVICE_IO_PROTOCOL EFI_DEVICE_IO_INTERFACE;
typedef enum {
- IO_UINT8 = 0,
- IO_UINT16 = 1,
- IO_UINT32 = 2,
- IO_UINT64 = 3,
- MMIO_COPY_UINT8 = 4,
- MMIO_COPY_UINT16 = 5,
- MMIO_COPY_UINT32 = 6,
- MMIO_COPY_UINT64 = 7
+ IO_UINT8 = 0,
+ IO_UINT16 = 1,
+ IO_UINT32 = 2,
+ IO_UINT64 = 3,
+ MMIO_COPY_UINT8 = 4,
+ MMIO_COPY_UINT16 = 5,
+ MMIO_COPY_UINT32 = 6,
+ MMIO_COPY_UINT64 = 7
} EFI_IO_WIDTH;
/**
@@ -55,9 +55,9 @@ typedef enum {
@param Count The number of I/O operations to perform.
@param Buffer For read operations, the destination buffer to store the results. For write
operations, the source buffer to write data from. If
- Width is MMIO_COPY_UINT8, MMIO_COPY_UINT16,
- MMIO_COPY_UINT32, or MMIO_COPY_UINT64, then
- Buffer is interpreted as a base address of an I/O operation such as Address.
+ Width is MMIO_COPY_UINT8, MMIO_COPY_UINT16,
+ MMIO_COPY_UINT32, or MMIO_COPY_UINT64, then
+ Buffer is interpreted as a base address of an I/O operation such as Address.
@retval EFI_SUCCESS The data was read from or written to the device.
@retval EFI_OUT_OF_RESOURCES The request could not be completed due to a lack of resources.