Go to the documentation of this file.
77 #define ADD_FIELD8(NAME, OFFSET, BITS) \
78 inline uint8_t NAME() { return bits(_data, OFFSET+BITS-1, OFFSET); } \
79 inline void NAME(uint8_t d) { replaceBits(_data, OFFSET+BITS-1, OFFSET,d); }
81 #define ADD_FIELD16(NAME, OFFSET, BITS) \
82 inline uint16_t NAME() { return bits(_data, OFFSET+BITS-1, OFFSET); } \
83 inline void NAME(uint16_t d) { replaceBits(_data, OFFSET+BITS-1, OFFSET,d); }
85 #define ADD_FIELD32(NAME, OFFSET, BITS) \
86 inline uint32_t NAME() { return bits(_data, OFFSET+BITS-1, OFFSET); } \
87 inline void NAME(uint32_t d) { replaceBits(_data, OFFSET+BITS-1, OFFSET,d); }
89 #define ADD_FIELD64(NAME, OFFSET, BITS) \
90 inline uint64_t NAME() { return bits(_data, OFFSET+BITS-1, OFFSET); } \
91 inline void NAME(uint64_t d) { replaceBits(_data, OFFSET+BITS-1, OFFSET,d); }
const uint32_t CHAN_CHAINADDR
const uint32_t CHAN_CHAINADDR_HIGH
const uint32_t CHAN_CMPLNADDR_HIGH
ADD_FIELD32(source_addr_error, 0, 1)
const uint32_t CHAN_STATUS
#define UNSERIALIZE_SCALAR(scalar)
Basic support for object serialization.
const uint32_t DESC_CTRL_CP_STS
const uint32_t CHAN_CMPLNADDR_LOW
const uint32_t DESC_CTRL_FRAME
void serialize(CheckpointOut &cp) const
ADD_FIELD8(master_int_enable, 0, 1)
const uint32_t GEN_XFERCAP
void paramOut(CheckpointOut &cp, const string &name, ExtMachInst const &machInst)
const uint32_t CHAN_CONTROL
const Reg< T > & operator=(T d)
void serialize(CheckpointOut &cp) const override
Serialize an object.
ADD_FIELD8(start_dma, 0, 1)
const uint32_t CHAN_COMMAND
const uint32_t GEN_ATTNSTATUS
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
#define SERIALIZE_SCALAR(scalar)
const uint32_t DESC_CTRL_DST_SN
const uint32_t DESC_CTRL_NULL
const uint32_t DESC_CTRL_SRC_SN
void serialize(CheckpointOut &cp) const override
Serialize an object.
const uint32_t GEN_INTRCTRL
ADD_FIELD64(dma_transfer_status, 0, 3)
void paramIn(CheckpointIn &cp, const string &name, ExtMachInst &machInst)
const uint32_t CHAN_CHAINADDR_LOW
const uint32_t GEN_CHANCOUNT
std::ostream CheckpointOut
void unserialize(CheckpointIn &cp) override
Unserialize an object.
const uint32_t CHAN_ERROR
void unserialize(CheckpointIn &cp)
const uint32_t DESC_CTRL_INT_GEN
void unserialize(CheckpointIn &cp) override
Unserialize an object.
ADD_FIELD16(interrupt_disable, 0, 1)
const uint32_t CHAN_CMPLNADDR
Generated on Wed Sep 30 2020 14:02:11 for gem5 by doxygen 1.8.17