|
ETISS 0.11.2
ExtendableTranslatingInstructionSetSimulator(version0.11.2)
|
Buffer for reading data from memory while instructions are being fetched. More...
#include <Instruction.h>

Public Member Functions | |
| Buffer () | |
| Buffer (const Buffer &o) | |
| Buffer (Buffer &&o) | |
| Buffer (unsigned intcount) | |
| Buffer (unsigned intcount, I val) | |
| ~Buffer () | |
| Buffer & | operator= (const Buffer &o) |
| Buffer & | operator= (Buffer &&o) |
| void | clear () |
| char * | internalBuffer () |
| get the internal buffer | |
| unsigned | internalBufferSize () |
| I | data () |
| void | recoverFromEndianness (unsigned alignment, endian_t endianness) |
| changes byte positions as needed to resove endiannes incompabilities after using the internal buffer to write | |
Public Attributes | |
| I * | d_ |
| unsigned | intcount_ |
Buffer for reading data from memory while instructions are being fetched.
Definition at line 45 of file Instruction.h.
|
inline |
Definition at line 52 of file Instruction.h.
|
inline |
Definition at line 53 of file Instruction.h.
|
inline |
Definition at line 54 of file Instruction.h.
|
inline |
Definition at line 55 of file Instruction.h.
|
inline |
Definition at line 60 of file Instruction.h.
References d_.
|
inline |
Definition at line 61 of file Instruction.h.
References clear().

|
inline |
Definition at line 81 of file Instruction.h.
References d_.
Referenced by operator=(), and ~Buffer().

|
inline |
Definition at line 97 of file Instruction.h.
References d_.
Referenced by etiss::CPUArch::compensateEndianess(), etiss::Translation::disasm(), and etiss::Translation::translateBlock().

| char * etiss::instr::Buffer::internalBuffer | ( | ) |
get the internal buffer
Definition at line 31 of file Instruction.cpp.
References d_.
Referenced by etiss::Translation::disasm(), and etiss::Translation::translateBlock().

| unsigned etiss::instr::Buffer::internalBufferSize | ( | ) |
Definition at line 35 of file Instruction.cpp.
References intcount_.
Definition at line 72 of file Instruction.h.
References clear(), d_, and intcount_.

Definition at line 63 of file Instruction.h.
| void etiss::instr::Buffer::recoverFromEndianness | ( | unsigned | alignment, |
| endian_t | endianness | ||
| ) |
changes byte positions as needed to resove endiannes incompabilities after using the internal buffer to write
Definition at line 40 of file Instruction.cpp.
References d_, ETISS_SRCLOC, etiss::FATALERROR, etiss::getEndianness(), int8_t, intcount_, and etiss::log().
Referenced by etiss::CPUArch::compensateEndianess().


| I* etiss::instr::Buffer::d_ |
Definition at line 48 of file Instruction.h.
Referenced by Buffer(), Buffer(), clear(), data(), internalBuffer(), operator=(), operator=(), and recoverFromEndianness().
| unsigned etiss::instr::Buffer::intcount_ |
Definition at line 49 of file Instruction.h.
Referenced by Buffer(), internalBufferSize(), operator=(), operator=(), and recoverFromEndianness().