TianoCore EDK2 master
Loading...
Searching...
No Matches
BasePciCapPciSegmentLib.h File Reference

Go to the source code of this file.

Data Structures

struct  SEGMENT_DEV
 

Macros

#define SEGMENT_DEV_SIG   SIGNATURE_64 ('P', 'C', 'P', 'S', 'G', 'M', 'N', 'T')
 
#define SEGMENT_DEV_FROM_PCI_CAP_DEV(PciDevice)    CR (PciDevice, SEGMENT_DEV, BaseDevice, SEGMENT_DEV_SIG)
 

Detailed Description

Plug a PciSegmentLib backend into PciCapLib, for config space access – internal macro and type definitions.

Copyright (C) 2018, Red Hat, Inc.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file BasePciCapPciSegmentLib.h.

Macro Definition Documentation

◆ SEGMENT_DEV_FROM_PCI_CAP_DEV

#define SEGMENT_DEV_FROM_PCI_CAP_DEV (   PciDevice)     CR (PciDevice, SEGMENT_DEV, BaseDevice, SEGMENT_DEV_SIG)

Definition at line 38 of file BasePciCapPciSegmentLib.h.

◆ SEGMENT_DEV_SIG

#define SEGMENT_DEV_SIG   SIGNATURE_64 ('P', 'C', 'P', 'S', 'G', 'M', 'N', 'T')

Definition at line 17 of file BasePciCapPciSegmentLib.h.