]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/DeviceIo.h
MdePkg/ProcessorBind: add defines for page allocation granularity
[mirror_edk2.git] / MdePkg / Include / Protocol / DeviceIo.h
index f95e93e0b5c3bd7852ddf77dae64b3530660c0d9..99763d2bd773fe9a4ee600b29762ec4f59ed3afa 100644 (file)
@@ -4,8 +4,8 @@
   Device IO is used to abstract hardware access to devices. It includes\r
   memory mapped IO, IO, PCI Config space, and DMA.\r
 \r
-  Copyright (c) 2006 - 2008, Intel Corporation                                                         \r
-  All rights reserved. This program and the accompanying materials                          \r
+  Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
+  This program and the accompanying materials                          \r
   are licensed and made available under the terms and conditions of the BSD License         \r
   which accompanies this distribution.  The full text of the license may be found at        \r
   http://opensource.org/licenses/bsd-license.php                                            \r
@@ -35,14 +35,17 @@ typedef struct _EFI_DEVICE_IO_PROTOCOL EFI_DEVICE_IO_PROTOCOL;
 /// \r
 typedef EFI_DEVICE_IO_PROTOCOL  EFI_DEVICE_IO_INTERFACE;\r
 \r
+///\r
+/// Device IO Access Width \r
+///\r
 typedef enum {\r
   IO_UINT8  = 0,\r
   IO_UINT16 = 1,\r
   IO_UINT32 = 2,\r
   IO_UINT64 = 3,\r
   //\r
-  // Below enumerations are added in "EFI 1.10 Specification update - 001", which\r
-  // is downloadable from http://download.intel.com/technology/efi/docs/EFI_1-10_Update.zip\r
+  // Below enumerations are added in "Extensible Firmware Interface Specification, \r
+  // Version 1.10, Specification Update, Version 001".\r
   //\r
   MMIO_COPY_UINT8  = 4,\r
   MMIO_COPY_UINT16 = 5,\r
@@ -119,7 +122,7 @@ typedef enum {
   ///\r
   /// Provides both read and write access to system memory\r
   /// by both the processor and a bus master. The buffer is\r
-  /// coherent from both the processor¡¯s and the bus master¡¯s\r
+  /// coherent from both the processor's and the bus master's\r
   /// point of view.\r
   ///\r
   EfiBusMasterCommonBuffer\r
@@ -131,7 +134,8 @@ typedef enum {
   @param  This                  A pointer to the EFI_DEVICE_IO_INTERFACE instance.\r
   @param  Operation             Indicates if the bus master is going to read or write to system memory.\r
   @param  HostAddress           The system memory address to map to the device.\r
-  @param  NumberOfBytes         On input the number of bytes to map.\r
+  @param  NumberOfBytes         On input, the number of bytes to map.\r
+                                On output, the number of bytes that were mapped.\r
   @param  DeviceAddress         The resulting map address for the bus master device to use to access the\r
                                 hosts HostAddress.\r
   @param  Mapping               A resulting value to pass to Unmap().\r