EFI ROOT BRIDGE IO PROTOCOL PCI ADDRESS

From PhoenixWiki

Jump to: navigation, search

Prototype

typedef struct {
  UINT8   Register;
  UINT8   Function;
  UINT8   Device;
  UINT8   Bus;
  UINT32  ExtendedRegister;
} EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_PCI_ADDRESS;
#define EFI_PCI_ADDRESS(bus, dev, func, reg) \
   ((UINT64) ((((UINTN) bus) << 24) + (((UINTN) dev) << 16) + (((UINTN) func) << 8) + ((UINTN) reg)))

Members

Member Description
Register The register number on the PCI Function.
Function The PCI Function number on the PCI Device.
Device The PCI Device number on the PCI Bus.
Bus The PCI Bus number.
ExtendedRegister The register number on the PCI Function. If this field is zero, then the Register field is used for the register number. If this field is nonzero, then the Register field is ignored, and the ExtendedRegister field is used for the register number.

Copyright (C) 2008 Phoenix Technologies Ltd. All Rights Reserved. Portions copyright (C) Intel Corporation. Used with permission.

Personal tools