NOVA User-Level Environment  Version testbox/changed-memory-timing-317-g320d8b5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PCIBus Class Reference

#include <nubus.h>

Inheritance diagram for PCIBus:
ListEntry< PCIBus >

Public Member Functions

uint8 no () const
NubusManagermanager () const
PCIBusadd_bus (PCIBus *bus)
PCIDeviceadd_device (PCIDevice *device)
void add_used_region (uint64 base, uint64 size)
uint64 alloc_mmio_window (uint64 size)
uint32 conf_read (uint8 df, uint16 reg)
bool conf_write (uint8 df, uint16 reg, uint32 val)
bool ari_enable ()
bool ari_enabled ()
bool ari_capable ()
 PCIBus (PCIDevice &bridge)
 PCIBus (NubusManager &manager)
- Public Member Functions inherited from ListEntry< PCIBus >
PCIBusprev () const
PCIBusnext () const
PCIBusfirst ()
PCIBuslast ()
void append (PCIBus *i)
 ListEntry ()

Protected Member Functions

bool device_exists (unsigned df)
void discover_devices ()

Protected Attributes

NubusManager_manager
uint8 _no
PCIDevice_bridge
PCIDevice_devices
PCIBus_buses
RegionList< 32 > _memregion

Constructor & Destructor Documentation

PCIBus::PCIBus ( PCIDevice bridge)
PCIBus::PCIBus ( NubusManager manager)
explicit

Member Function Documentation

PCIBus * PCIBus::add_bus ( PCIBus bus)
PCIDevice * PCIBus::add_device ( PCIDevice device)
void PCIBus::add_used_region ( uint64  base,
uint64  size 
)
inline
uint64 PCIBus::alloc_mmio_window ( uint64  size)
inline
bool PCIBus::ari_capable ( )
bool PCIBus::ari_enable ( )
bool PCIBus::ari_enabled ( )
uint32 PCIBus::conf_read ( uint8  df,
uint16  reg 
)
bool PCIBus::conf_write ( uint8  df,
uint16  reg,
uint32  val 
)
bool PCIBus::device_exists ( unsigned  df)
inlineprotected
void PCIBus::discover_devices ( )
protected
NubusManager& PCIBus::manager ( ) const
inline
uint8 PCIBus::no ( ) const
inline

Member Data Documentation

PCIDevice* PCIBus::_bridge
protected
PCIBus* PCIBus::_buses
protected
PCIDevice* PCIBus::_devices
protected
NubusManager& PCIBus::_manager
protected
RegionList<32> PCIBus::_memregion
protected
uint8 PCIBus::_no
protected

The documentation for this class was generated from the following files: