Go to the documentation of this file.
285 return bits(
d->d2, 15, 0);
287 return bits(
d->d2, 19, 0);
300 return bits(
d->d2, 30);
313 return bits(
d->d2, 26);
315 return bits(
d->d2, 31);
323 return bits(
d->d2, 25);
329 return bits(
d->d2, 24);
335 return bits(
d->d2, 25);
341 return bits(
d->d2, 24);
348 return bits(
d->d2, 23, 16);
354 return bits(
d->d2, 47, 40);
364 return bits(
d->d1, 63, 48);
370 return bits(
d->d1, 47, 40);
376 return bits(
d->d1, 39, 32);
382 return bits(
d->d1, 31, 16);
388 return bits(
d->d1, 15, 8);
394 return bits(
d->d1, 7, 0);
400 return bits(
d->d2, 63, 48);
407 return bits(
d->d2, 47, 40);
415 return bits(
d->d2, 63, 46);
421 return bits(
d->d2, 24, 31);
427 #define ADD_FIELD32(NAME, OFFSET, BITS) \
428 inline uint32_t NAME() { return bits(_data, OFFSET+BITS-1, OFFSET); } \
429 inline void NAME(uint32_t d) { replaceBits(_data, OFFSET+BITS-1, OFFSET,d); }
431 #define ADD_FIELD64(NAME, OFFSET, BITS) \
432 inline uint64_t NAME() { return bits(_data, OFFSET+BITS-1, OFFSET); } \
433 inline void NAME(uint64_t d) { replaceBits(_data, OFFSET+BITS-1, OFFSET,d); }
647 case 0:
return bsex() == 0 ? 2048 : 0;
648 case 1:
return bsex() == 0 ? 1024 : 16384;
649 case 2:
return bsex() == 0 ? 512 : 8192;
650 case 3:
return bsex() == 0 ? 256 : 4096;
738 unsigned bufLen() {
return pktlen() << 10; }
ADD_FIELD64(tdbal, 0, 32)
void serialize(CheckpointOut &cp) const
bool isContext(TxDesc *d)
const uint32_t REG_CRCERRS
ADD_FIELD32(interval, 0, 16)
const uint32_t REG_RXDCTL
#define UNSERIALIZE_SCALAR(scalar)
void serialize(CheckpointOut &cp) const override
Serialize an object.
const Reg< T > & operator=(T d)
const uint32_t REG_TDWBAL
ADD_FIELD64(rdbal, 0, 32)
bool isAdvDesc(TxDesc *d)
const uint8_t VLAN_FILTER_TABLE_SIZE
constexpr void replaceBits(T &val, unsigned first, unsigned last, B bit_val)
A convenience function to replace bits first to last of val with bit_val in place.
uint8_t getCss(TxDesc *d)
bool isType(TxDesc *d, uint8_t type)
const uint8_t RCV_ADDRESS_TABLE_SIZE
const uint16_t EEPROM_CSUM
const uint16_t RXDEE_TCPE
const uint8_t TXD_ADVDATA
ADD_FIELD32(gpi_en, 0, 4)
ADD_FIELD32(iscsi_dis, 0, 1)
const uint32_t REG_TXDCA_CTL
struct gem5::igbreg::RxDesc::@87::@89 legacy
const uint16_t RXDP_IPV6E
const uint32_t REG_STATUS
Basic support for object serialization.
ADD_FIELD32(txdw, 0, 1) ADD_FIELD32(txqe
ADD_FIELD32(eep_fw_semaphore, 0, 1)
ADD_FIELD32(cpu_mask, 0, 5)
bool isTypes(TxDesc *d, uint8_t t1, uint8_t t2)
const uint8_t RXDT_ADV_SPLIT_A
const uint16_t RXDP_IPV4E
const uint8_t EEPROM_RDSR_OPCODE_SPI
ADD_FIELD32(pthresh, 0, 6)
const uint8_t PHY_GSTATUS
const uint16_t RXDS_DYNINT
uint8_t getCso(TxDesc *d)
const uint8_t MULTICAST_TABLE_SIZE
constexpr T bits(T val, unsigned first, unsigned last)
Extract the bitfield from position 'first' to 'last' (inclusive) from 'val' and right justify it.
const uint8_t EEPROM_SIZE
const uint32_t REG_LEDCTL
const uint16_t RXDS_UDPCS
const uint8_t RXDT_LEGACY
const uint8_t EEPROM_READ_OPCODE_SPI
const uint8_t RXDT_ADV_ONEBUF
uint8_t getType(TxDesc *d)
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
GEM5_DEPRECATED_NAMESPACE(GuestABI, guest_abi)
const uint32_t REG_SWFWSYNC
#define SERIALIZE_SCALAR(scalar)
const uint32_t REG_TXDCTL
void unserialize(CheckpointIn &cp) override
Unserialize an object.
const uint32_t REG_TDWBAH
void unserialize(CheckpointIn &cp)
const uint8_t TXD_ADVCNXT
void paramOut(CheckpointOut &cp, const std::string &name, ExtMachInst const &machInst)
const uint8_t PHY_PSTATUS
const uint32_t STATS_REGS_SIZE
struct gem5::igbreg::RxDesc::@87::@90 adv_read
ADD_FIELD32(delay, 0, 16)
void paramIn(CheckpointIn &cp, const std::string &name, ExtMachInst &machInst)
const uint32_t REG_SRRCTL
ADD_FIELD32(pktlen, 0, 8)
const uint8_t PHY_EPSTATUS
const uint32_t REG_RXCSUM
std::ostream CheckpointOut
const uint32_t REG_CTRL_EXT
const uint16_t RXDS_TCPCS
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
GEM5_DEPRECATED_NAMESPACE(TxdOp, txd_op)
ADD_FIELD32(pthresh, 0, 6)
struct gem5::igbreg::RxDesc::@87::@91 adv_wb
Generated on Wed May 4 2022 12:13:57 for gem5 by doxygen 1.8.17