gem5 [DEVELOP-FOR-25.0]
Loading...
Searching...
No Matches
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

Referenced by operator<().

◆ PciBusAddr() [2/2]

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

Definition at line 49 of file types.hh.

References bus, dev, and func.

Member Function Documentation

◆ operator<()

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

Definition at line 52 of file types.hh.

References PciBusAddr(), and sortValue().

◆ sortValue()

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 PciBusAddr(), gem5::PciHost::registerDevice(), and sortValue().

◆ dev

uint8_t gem5::PciBusAddr::dev

Definition at line 57 of file types.hh.

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

◆ func

uint8_t gem5::PciBusAddr::func

Definition at line 58 of file types.hh.

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


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

Generated on Mon May 26 2025 09:19:23 for gem5 by doxygen 1.13.2