Protocols — PCI Bus Support
Version 1.10 12/01/02 12-37
EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL.SetAttributes()
Summary
Sets attributes for a resource range on a PCI root bridge.
Prototype
typedef
EFI_STATUS
(EFIAPI *EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_SET_ATTRIBUTES) (
IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *This,
IN UINT64 Attributes,
IN OUT UINT64 *ResourceBase OPTIONAL,
IN OUT UINT64 *ResourceLength OPTIONAL
);
Parameters
This A pointer to the EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL.
Type EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL is defined in
Section 12.2.
Attributes The mask of attributes to set. If the attribute bit
MEMORY_WRITE_COMBINE, MEMORY_CACHED, or
MEMORY_DISABLE is set, then the resource range is specified by
ResourceBase and ResourceLength. If
MEMORY_WRITE_COMBINE, MEMORY_CACHED, and
MEMORY_DISABLE are not set, then ResourceBase and
ResourceLength are ignored, and may be NULL. The
available attributes are listed in Section 12.2.
ResourceBase A pointer to the base address of the resource range to be modified
by the attributes specified by Attributes. On return,
*ResourceBase will be set the actual base address of the
resource range. Not all resources can be set to a byte boundary, so
the actual base address may differ from the one passed in by the
caller. This parameter is only used if the
MEMORY_WRITE_COMBINE bit, the MEMORY_CACHED bit, or
the MEMORY_DISABLE bit of Attributes is set. Otherwise, it
is ignored, and may be NULL.