gem5  v20.1.0.0
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 41 of file types.hh.

Constructor & Destructor Documentation

◆ PciBusAddr() [1/2]

PciBusAddr::PciBusAddr ( )
delete

◆ PciBusAddr() [2/2]

constexpr PciBusAddr::PciBusAddr ( uint8_t  _bus,
uint8_t  _dev,
uint8_t  _func 
)
inlineconstexpr

Definition at line 46 of file types.hh.

Member Function Documentation

◆ operator<()

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

Definition at line 49 of file types.hh.

References sortValue().

◆ sortValue()

constexpr uint32_t PciBusAddr::sortValue ( ) const
inlineconstexprprotected

Definition at line 58 of file types.hh.

References bus, dev, and func.

Referenced by operator<().

Member Data Documentation

◆ bus

uint8_t PciBusAddr::bus

Definition at line 53 of file types.hh.

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

◆ dev

uint8_t PciBusAddr::dev

◆ func

uint8_t PciBusAddr::func

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

Generated on Wed Sep 30 2020 14:02:29 for gem5 by doxygen 1.8.17