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

Go to the source code of this file.

Data Structures

struct  NON_DISCOVERABLE_DEVICE_UNCACHED_ALLOCATION
 
struct  NON_DISCOVERABLE_PCI_DEVICE
 

Macros

#define NON_DISCOVERABLE_PCI_DEVICE_SIG   SIGNATURE_32 ('P', 'P', 'I', 'D')
 
#define NON_DISCOVERABLE_PCI_DEVICE_FROM_PCI_IO(PciIoPointer)
 
#define DEV_SUPPORTED_ATTRIBUTES    (EFI_PCI_DEVICE_ENABLE | EFI_PCI_IO_ATTRIBUTE_DUAL_ADDRESS_CYCLE)
 
#define PCI_ID_VENDOR_UNKNOWN   0xffff
 
#define PCI_ID_DEVICE_DONTCARE   0x0000
 

Functions

VOID InitializePciIoProtocol (NON_DISCOVERABLE_PCI_DEVICE *Device)
 

Variables

EFI_CPU_ARCH_PROTOCOLmCpu
 
EFI_COMPONENT_NAME_PROTOCOL gComponentName
 
EFI_COMPONENT_NAME2_PROTOCOL gComponentName2
 

Detailed Description

Copyright (C) 2016, Linaro Ltd. All rights reserved.

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

Definition in file NonDiscoverablePciDeviceIo.h.

Macro Definition Documentation

◆ DEV_SUPPORTED_ATTRIBUTES

#define DEV_SUPPORTED_ATTRIBUTES    (EFI_PCI_DEVICE_ENABLE | EFI_PCI_IO_ATTRIBUTE_DUAL_ADDRESS_CYCLE)

Definition at line 33 of file NonDiscoverablePciDeviceIo.h.

◆ NON_DISCOVERABLE_PCI_DEVICE_FROM_PCI_IO

#define NON_DISCOVERABLE_PCI_DEVICE_FROM_PCI_IO (   PciIoPointer)
Value:
CR (PciIoPointer, NON_DISCOVERABLE_PCI_DEVICE, PciIo, \
NON_DISCOVERABLE_PCI_DEVICE_SIG)
#define CR(Record, TYPE, Field, TestSignature)
Definition: DebugLib.h:659

Definition at line 29 of file NonDiscoverablePciDeviceIo.h.

◆ NON_DISCOVERABLE_PCI_DEVICE_SIG

#define NON_DISCOVERABLE_PCI_DEVICE_SIG   SIGNATURE_32 ('P', 'P', 'I', 'D')

Definition at line 27 of file NonDiscoverablePciDeviceIo.h.

◆ PCI_ID_DEVICE_DONTCARE

#define PCI_ID_DEVICE_DONTCARE   0x0000

Definition at line 37 of file NonDiscoverablePciDeviceIo.h.

◆ PCI_ID_VENDOR_UNKNOWN

#define PCI_ID_VENDOR_UNKNOWN   0xffff

Definition at line 36 of file NonDiscoverablePciDeviceIo.h.

Function Documentation

◆ InitializePciIoProtocol()

VOID InitializePciIoProtocol ( NON_DISCOVERABLE_PCI_DEVICE Dev)

Initialize PciIo Protocol.

Parameters
DevicePoint to NON_DISCOVERABLE_PCI_DEVICE instance.

Initialize PciIo Protocol.

Parameters
DevPoint to NON_DISCOVERABLE_PCI_DEVICE instance.

Definition at line 1765 of file NonDiscoverablePciDeviceIo.c.

Variable Documentation

◆ gComponentName

EFI_COMPONENT_NAME_PROTOCOL gComponentName
extern

Definition at line 25 of file ComponentName.c.

◆ gComponentName2

EFI_COMPONENT_NAME2_PROTOCOL gComponentName2
extern

Definition at line 112 of file ComponentName.c.

◆ mCpu

EFI_CPU_ARCH_PROTOCOL* mCpu
extern

Pointer to the CPU Architectural Protocol instance.

Definition at line 15 of file ArmCrashDumpDxe.c.