Efi_pci_root_bridge_io_protocol.copymem(), Copymem(), Func – Intel Extensible Firmware Interface User Manual

Page 444

Advertising
background image

Extensible Firmware Interface Specification

12-26

12/01/02

Version 1.10

EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL.CopyMem()

Summary

Enables a PCI driver to copy one region of PCI root bridge memory space to another region of PCI
root bridge memory space.

Prototype

typedef
EFI_STATUS
(EFIAPI *EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_COPY_MEM) (
IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL

*This,

IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH

Width,

IN UINT64

DestAddress,

IN UINT64

SrcAddress,

IN UINTN

Count

);

Parameters

This

A pointer to the

EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL

instance. Type

EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL

is

defined in Section 12.2.

Width

Signifies the width of the memory operations. Type

EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH

is defined

in Section 12.2.

DestAddress

The destination address of the memory operation. The caller is
responsible for aligning the

DestAddress

if required.

SrcAddress

The source address of the memory operation. The caller is
responsible for aligning the

SrcAddress

if required.

Count

The number of memory operations to perform. Bytes moved is

Width

size *

Count

, starting at

DestAddress

and

SrcAddress

.

Advertising