gem5 [DEVELOP-FOR-25.1]
Loading...
Searching...
No Matches
gem5::PciDevAddr Struct Reference

#include <types.hh>

Public Member Functions

 PciDevAddr ()=delete
constexpr PciDevAddr (uint8_t _dev, uint8_t _func)
constexpr bool operator< (const PciDevAddr &rhs) const

Public Attributes

uint8_t dev
uint8_t func

Protected Member Functions

constexpr uint32_t sortValue () const

Detailed Description

Definition at line 48 of file types.hh.

Constructor & Destructor Documentation

◆ PciDevAddr() [1/2]

gem5::PciDevAddr::PciDevAddr ( )
delete

Referenced by operator<().

◆ PciDevAddr() [2/2]

gem5::PciDevAddr::PciDevAddr ( uint8_t _dev,
uint8_t _func )
inlineconstexpr

Definition at line 53 of file types.hh.

References dev, and func.

Member Function Documentation

◆ operator<()

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

Definition at line 56 of file types.hh.

References PciDevAddr(), and sortValue().

◆ sortValue()

uint32_t gem5::PciDevAddr::sortValue ( ) const
inlineconstexprprotected

Definition at line 67 of file types.hh.

References dev, and func.

Referenced by operator<().

Member Data Documentation

◆ dev

uint8_t gem5::PciDevAddr::dev

◆ func

uint8_t gem5::PciDevAddr::func

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

Generated on Mon Oct 27 2025 04:13:12 for gem5 by doxygen 1.14.0