gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
PciBusAddr Struct Reference

#include <types.hh>

Public Member Functions

 PciBusAddr ()=delete
 
constexpr PciBusAddr (uint8_t _bus, uint8_t _dev, uint8_t _func)
 
constexpr bool operator< (const PciBusAddr &rhs) const
 

Public Attributes

uint8_t bus
 
uint8_t dev
 
uint8_t func
 

Protected Member Functions

constexpr uint32_t sortValue () const
 

Detailed Description

Definition at line 43 of file types.hh.

Constructor & Destructor Documentation

PciBusAddr::PciBusAddr ( )
delete
constexpr PciBusAddr::PciBusAddr ( uint8_t  _bus,
uint8_t  _dev,
uint8_t  _func 
)
inline

Definition at line 48 of file types.hh.

Member Function Documentation

constexpr bool PciBusAddr::operator< ( const PciBusAddr rhs) const
inline

Definition at line 51 of file types.hh.

References sortValue().

constexpr uint32_t PciBusAddr::sortValue ( ) const
inlineprotected

Definition at line 60 of file types.hh.

References bus, dev, and func.

Referenced by operator<().

Member Data Documentation

uint8_t PciBusAddr::bus

Definition at line 55 of file types.hh.

Referenced by GenericArmPciHost::mapPciInterrupt(), PciHost::registerDevice(), and sortValue().

uint8_t PciBusAddr::dev
uint8_t PciBusAddr::func

The documentation for this struct was generated from the following file:

Generated on Fri Jun 9 2017 13:04:16 for gem5 by doxygen 1.8.6