Type, Efi_pci_io_protocol_attribute_operation – Intel Extensible Firmware Interface User Manual
Page 505

Protocols
— PCI Bus Support
Version 1.10
12/01/02
12-87
Related Definitions
//*******************************************************
// EFI_PCI_IO_PROTOCOL_ATTRIBUTE_OPERATION
//*******************************************************
typedef enum {
EfiPciIoAttributeOperationGet,
EfiPciIoAttributeOperationSet,
EfiPciIoAttributeOperationEnable,
EfiPciIoAttributeOperationDisable,
EfiPciIoAttributeOperationSupported,
EfiPciIoAttributeOperationMaximum
} EFI_PCI_IO_PROTOCOL_ATTRIBUTE_OPERATION;
EfiPciIoAttributeOperationGet
Retrieve the PCI controller’s current attributes, and return them in
Result
. If
Result
is
NULL
, then
EFI_INVALID_PARAMER
is returned. For this operation,
Attributes
is ignored.
EfiPciIoAttributeOperationSet
Set the PCI controller’s current attributes to
Attributes
. If a bit is set in
Attributes
that is not supported by this PCI controller or one of its parent bridges,
then
EFI_UNSUPPORTED
is returned. For this operation,
Result
is an optional
parameter that may be
NULL
.
EfiPciIoAttributeOperationEnable
Enable the attributes specified by the bits that are set in
Attributes
for this PCI
controller. Bits in
Attributes
that are clear are ignored. If a bit is set in
Attributes
that is not supported by this PCI controller or one of its parent bridges,
then
EFI_UNSUPPORTED
is returned. For this operation,
Result
is an optional
parameter that may be
NULL
.
EfiPciIoAttributeOperationDisable
Disable the attributes specified by the bits that are set in
Attributes
for this PCI
controller. Bits in
Attributes
that are clear are ignored. If a bit is set in
Attributes
that is not supported by this PCI controller or one of its parent bridges,
then
EFI_UNSUPPORTED
is returned. For this operation,
Result
is an optional
parameter that may be
NULL
.
EfiPciIoAttributeOperationSupported
Retrieve the PCI controller's supported attributes, and return them in
Result
. If
Result
is
NULL
, then
EFI_INVALID_PARAMER
is returned. For this operation,
Attributes
is ignored.