gem5 v24.0.0.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

◆ PciBusAddr() [2/2]

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<()

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

Definition at line 52 of file types.hh.

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

◆ dev

◆ func


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

Generated on Tue Jun 18 2024 16:24:13 for gem5 by doxygen 1.11.0