gem5  v21.1.0.2
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
gem5::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 44 of file types.hh.

Constructor & Destructor Documentation

◆ PciBusAddr() [1/2]

gem5::PciBusAddr::PciBusAddr ( )
delete

◆ PciBusAddr() [2/2]

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

Definition at line 49 of file types.hh.

Member Function Documentation

◆ operator<()

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

Definition at line 52 of file types.hh.

References sortValue().

◆ sortValue()

constexpr uint32_t gem5::PciBusAddr::sortValue ( ) const
inlineconstexprprotected

Definition at line 61 of file types.hh.

References bus, dev, and func.

Referenced by operator<().

Member Data Documentation

◆ bus

uint8_t gem5::PciBusAddr::bus

Definition at line 56 of file types.hh.

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

◆ dev

uint8_t gem5::PciBusAddr::dev

◆ func

uint8_t gem5::PciBusAddr::func

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

Generated on Tue Sep 21 2021 12:27:56 for gem5 by doxygen 1.8.17