Go to the documentation of this file.
38 #ifndef __BASE_CHANNEL_ADDR_HH__
39 #define __BASE_CHANNEL_ADDR_HH__
63 explicit constexpr
operator Type()
const {
return a; }
71 :
a(range.removeIntlvBits(_a)) {}
196 return std::hash<ChannelAddr::Type>{}(
207 #endif // __BASE_CHANNEL_ADDR_HH__
Addr getPA(const AddrRange &range) const
constexpr ChannelAddr start() const
constexpr ChannelAddr operator-(const Type &b) const
constexpr bool operator!=(const ChannelAddr &b) const
constexpr ChannelAddr operator>>(const int b) const
constexpr bool operator<=(const ChannelAddr &b) const
constexpr bool contains(ChannelAddr a) const
constexpr ChannelAddr(Type _a)
Explicit constructor assigning a value.
constexpr ChannelAddr operator<<(const int b) const
constexpr ChannelAddr operator&(const Type b) const
result_type operator()(argument_type const &a) const noexcept
The ChanneelAddrRange class describes a contiguous range of addresses in a contiguous channel-local a...
constexpr ChannelAddr end() const
ChannelAddr & operator=(const ChannelAddr &)=default
constexpr bool operator>(const ChannelAddr &b) const
constexpr bool valid() const
The AddrRange class encapsulates an address range, and supports a number of tests to check if two ran...
constexpr ChannelAddr operator*(const Type &b) const
Type a
Member holding the actual value.
Class holding a guest address in a contiguous channel-local address space.
constexpr ChannelAddrRange()
constexpr ChannelAddr operator+(const ChannelAddr &b) const
constexpr bool operator==(const ChannelAddr &b) const
constexpr ChannelAddr operator|(const ChannelAddr &b) const
Addr addIntlvBits(Addr a) const
This method adds the interleaving bits removed by removeIntlvBits.
constexpr ChannelAddr operator^(const ChannelAddr &b) const
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
constexpr ChannelAddr size() const
constexpr ChannelAddr operator/(const Type &b) const
std::ostream & operator<<(std::ostream &out, const ChannelAddr &addr)
Overload hash function for BasicBlockRange type.
constexpr bool operator<(const ChannelAddr &b) const
ChannelAddr(const AddrRange &range, Addr _a)
constexpr ChannelAddr operator+(const Type &b) const
constexpr ChannelAddr operator&(const ChannelAddr &b) const
constexpr Type value() const
Converting back to the value type.
constexpr ChannelAddr operator|(const Type b) const
constexpr ChannelAddrRange(ChannelAddr start, ChannelAddr end)
constexpr bool operator>=(const ChannelAddr &b) const
constexpr ChannelAddr operator-(const ChannelAddr &b) const
ChannelAddr argument_type
Generated on Wed Sep 30 2020 14:02:07 for gem5 by doxygen 1.8.17