Update comments for Protocol definitions to match UEFI spec. And add the missing comments for the data structure.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6636 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4
2008-11-19 14:24:27 +00:00
parent 74fec7085b
commit f1004231ee
17 changed files with 816 additions and 120 deletions

View File

@@ -36,14 +36,10 @@ typedef struct _EFI_DEVICE_IO_PROTOCOL EFI_DEVICE_IO_PROTOCOL;
typedef EFI_DEVICE_IO_PROTOCOL EFI_DEVICE_IO_INTERFACE;
typedef enum {
IO_UINT8,
IO_UINT16,
IO_UINT32,
IO_UINT64,
MMIO_COPY_UINT8,
MMIO_COPY_UINT16,
MMIO_COPY_UINT32,
MMIO_COPY_UINT64
IO_UINT8 = 0,
IO_UINT16 = 1,
IO_UINT32 = 2,
IO_UINT64 = 3
} EFI_IO_WIDTH;
/**
@@ -99,8 +95,22 @@ EFI_STATUS
);
typedef enum {
///
/// A read operation from system memory by a bus master.
///
EfiBusMasterRead,
///
/// A write operation to system memory by a bus master.
///
EfiBusMasterWrite,
///
/// Provides both read and write access to system memory
/// by both the processor and a bus master. The buffer is
/// coherent from both the processor<6F><72>s and the bus master<65><72>s
/// point of view.
///
EfiBusMasterCommonBuffer
} EFI_IO_OPERATION_TYPE;