VirtualBox

忽略:
時間撮記:
2015-10-29 上午04:30:44 (9 年 以前)
作者:
vboxsync
svn:sync-xref-src-repo-rev:
103777
訊息:

EFI/Firmware: Merged in the svn:eol-style, svn:mime-type and trailing whitespace cleanup that was done after the initial UDK2014.SP1 import: svn merge /vendor/edk2/UDK2014.SP1 /vendor/edk2/current .

位置:
trunk/src/VBox/Devices/EFI/Firmware
檔案:
修改 2 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Devices/EFI/Firmware

  • trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Protocol/CpuIo2.h

    r48674 r58466  
    11/** @file
    22  This files describes the CPU I/O 2 Protocol.
    3  
     3
    44  This protocol provides an I/O abstraction for a system processor. This protocol
    55  is used by a PCI root bridge I/O driver to perform memory-mapped I/O and I/O transactions.
    66  The I/O or memory primitives can be used by the consumer of the protocol to materialize
    77  bus-specific configuration cycles, such as the transitional configuration address and data
    8   ports for PCI. Only drivers that require direct access to the entire system should use this 
    9   protocol. 
    10  
     8  ports for PCI. Only drivers that require direct access to the entire system should use this
     9  protocol.
     10
    1111  Note: This is a boot-services only protocol and it may not be used by runtime drivers after
    1212  ExitBootServices(). It is different from the Framework CPU I/O Protocol, which is a runtime
     
    2323
    2424  @par Revision Reference:
    25   This Protocol is defined in UEFI Platform Initialization Specification 1.2 
     25  This Protocol is defined in UEFI Platform Initialization Specification 1.2
    2626  Volume 5: Standards
    2727
     
    5858
    5959/**
    60   Enables a driver to access registers in the PI CPU I/O space. 
     60  Enables a driver to access registers in the PI CPU I/O space.
    6161
    62   The Io.Read() and Io.Write() functions enable a driver to access PCI controller 
    63   registers in the PI CPU I/O space. 
     62  The Io.Read() and Io.Write() functions enable a driver to access PCI controller
     63  registers in the PI CPU I/O space.
    6464
    65   The I/O operations are carried out exactly as requested. The caller is responsible 
    66   for satisfying any alignment and I/O width restrictions that a PI System on a 
    67   platform might require. For example on some platforms, width requests of 
    68   EfiCpuIoWidthUint64 do not work. Misaligned buffers, on the other hand, will 
     65  The I/O operations are carried out exactly as requested. The caller is responsible
     66  for satisfying any alignment and I/O width restrictions that a PI System on a
     67  platform might require. For example on some platforms, width requests of
     68  EfiCpuIoWidthUint64 do not work. Misaligned buffers, on the other hand, will
    6969  be handled by the driver.
    70  
    71   If Width is EfiCpuIoWidthUint8, EfiCpuIoWidthUint16, EfiCpuIoWidthUint32, 
    72   or EfiCpuIoWidthUint64, then both Address and Buffer are incremented for 
     70
     71  If Width is EfiCpuIoWidthUint8, EfiCpuIoWidthUint16, EfiCpuIoWidthUint32,
     72  or EfiCpuIoWidthUint64, then both Address and Buffer are incremented for
    7373  each of the Count operations that is performed.
    74  
    75   If Width is EfiCpuIoWidthFifoUint8, EfiCpuIoWidthFifoUint16, 
    76   EfiCpuIoWidthFifoUint32, or EfiCpuIoWidthFifoUint64, then only Buffer is 
    77   incremented for each of the Count operations that is performed. The read or 
     74
     75  If Width is EfiCpuIoWidthFifoUint8, EfiCpuIoWidthFifoUint16,
     76  EfiCpuIoWidthFifoUint32, or EfiCpuIoWidthFifoUint64, then only Buffer is
     77  incremented for each of the Count operations that is performed. The read or
    7878  write operation is performed Count times on the same Address.
    79  
    80   If Width is EfiCpuIoWidthFillUint8, EfiCpuIoWidthFillUint16, 
    81   EfiCpuIoWidthFillUint32, or EfiCpuIoWidthFillUint64, then only Address is 
    82   incremented for each of the Count operations that is performed. The read or 
     79
     80  If Width is EfiCpuIoWidthFillUint8, EfiCpuIoWidthFillUint16,
     81  EfiCpuIoWidthFillUint32, or EfiCpuIoWidthFillUint64, then only Address is
     82  incremented for each of the Count operations that is performed. The read or
    8383  write operation is performed Count times from the first element of Buffer.
    8484
    8585  @param[in]       This     A pointer to the EFI_CPU_IO2_PROTOCOL instance.
    8686  @param[in]       Width    Signifies the width of the I/O or Memory operation.
    87   @param[in]       Address  The base address of the I/O operation. 
    88   @param[in]       Count    The number of I/O operations to perform. The number 
     87  @param[in]       Address  The base address of the I/O operation.
     88  @param[in]       Count    The number of I/O operations to perform. The number
    8989                            of bytes moved is Width size * Count, starting at Address.
    9090  @param[in, out]  Buffer   For read operations, the destination buffer to store the results.
     
    9595  @retval EFI_INVALID_PARAMETER  Buffer is NULL.
    9696  @retval EFI_UNSUPPORTED        The Buffer is not aligned for the given Width.
    97   @retval EFI_UNSUPPORTED        The address range specified by Address, Width, 
     97  @retval EFI_UNSUPPORTED        The address range specified by Address, Width,
    9898                                 and Count is not valid for this PI system.
    9999
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette