gem5  v22.1.0.0
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 ( )

◆ PciBusAddr() [2/2]

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

Definition at line 49 of file types.hh.

Member Function Documentation

◆ operator<()

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

Definition at line 52 of file types.hh.

References sortValue().

◆ sortValue()

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

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 Wed Dec 21 2022 10:23:21 for gem5 by doxygen 1.9.1