Code Scrub for Protocol and Ppi Definition
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5564 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user