RTEMS 6.3
Loading...
Searching...
No Matches
pcibios.c File Reference
#include <rtems.h>
#include <bsp.h>
#include <rtems/pci.h>
#include <string.h>

Macros

#define PCIB_DEVSIG_MAKE(b, d, f)
 Make device signature from bus number, device numebr and function number.
#define PCIB_DEVSIG_BUS(x)
 Extract valrous part from device signature.
#define PCIB_DEVSIG_DEV(x)
#define PCIB_DEVSIG_FUNC(x)

Functions

const pci_config_access_functions * pci_bios_initialize (void)

Detailed Description

PCI Support when Configuration Space is accessed via BIOS

Macro Definition Documentation

◆ PCIB_DEVSIG_BUS

#define PCIB_DEVSIG_BUS ( x)
Value:
(((x)>>8) &0xff)

Extract valrous part from device signature.

◆ PCIB_DEVSIG_DEV

#define PCIB_DEVSIG_DEV ( x)
Value:
(((x)>>3) & 0x1f)

◆ PCIB_DEVSIG_FUNC

#define PCIB_DEVSIG_FUNC ( x)
Value:
((x) & 0x7)

◆ PCIB_DEVSIG_MAKE

#define PCIB_DEVSIG_MAKE ( b,
d,
f )
Value:
((b<<8)|(d<<3)|(f))

Make device signature from bus number, device numebr and function number.