OpenASIP
2.0
|
#include <ASpaceElement.hh>
Public Member Functions | |
ASpaceElement () | |
virtual | ~ASpaceElement () |
Byte | MAU () const |
void | setMAU (Byte aMAU) |
Byte | align () const |
void | setAlign (Byte aAlign) |
Byte | wordSize () const |
void | setWordSize (Byte aWordSize) |
void | setName (const ReferenceManager::SafePointer *aName) |
void | setName (Chunk *aName) |
Chunk * | name () const |
Public Member Functions inherited from TPEF::SectionElement | |
virtual | ~SectionElement () |
Public Member Functions inherited from TPEF::SafePointable | |
virtual | ~SafePointable () |
Private Attributes | |
Byte | mau_ |
Minimum addressable unit. More... | |
Byte | align_ |
Aligment. More... | |
Byte | wSize_ |
Word size. More... | |
const ReferenceManager::SafePointer * | name_ |
Name. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from TPEF::SectionElement | |
SectionElement () | |
Protected Member Functions inherited from TPEF::SafePointable | |
SafePointable () | |
Address space element. Holds information of single address space.
Definition at line 48 of file ASpaceElement.hh.
TPEF::ASpaceElement::ASpaceElement | ( | ) |
Constructs empty element.
Definition at line 41 of file ASpaceElement.cc.
|
virtual |
Byte TPEF::ASpaceElement::align | ( | ) | const |
Byte TPEF::ASpaceElement::MAU | ( | ) | const |
Referenced by TPEF::TPEFASpaceSectionWriter::actualWriteData(), TPEF::DataSection::addMAU(), TPEFDumper::addressSpaceString(), TTAProgram::ProgramWriter::createDataSections(), TPEF::TPEFDataSectionWriter::elementSize(), TPEF::TPEFUDataSectionWriter::elementSize(), TPEF::TPEFRelocSectionReader::finalize(), TTAProgram::TPEFProgramFactory::findAddressSpace(), TPEF::TPEFASpaceSectionReader::readData(), TPEFDumper::section(), TPEF::ASpaceSection::setUndefinedASpace(), DataSectionCreator::writeDataLineToTPEF(), TPEF::TPEFASpaceSectionWriter::writeElement(), TPEF::LEDataSection::writeValue(), and TPEF::DataSection::writeValue().
Chunk* TPEF::ASpaceElement::name | ( | ) | const |
void TPEF::ASpaceElement::setAlign | ( | Byte | aAlign | ) |
Referenced by TPEF::TPEFASpaceSectionReader::readData(), and TPEF::AOutReader::readData().
void TPEF::ASpaceElement::setMAU | ( | Byte | aMAU | ) |
void TPEF::ASpaceElement::setName | ( | Chunk * | aName | ) |
void TPEF::ASpaceElement::setName | ( | const ReferenceManager::SafePointer * | aName | ) |
Referenced by MachineResourceManager::codeAddressSpace(), TTAProgram::ProgramWriter::createASpaceElement(), TTAProgram::ProgramWriter::createBinary(), MachineResourceManager::findDataAddressSpace(), TPEF::TPEFASpaceSectionReader::readData(), TPEF::AOutReader::readData(), and MachineResourceManager::undefinedAddressSpace().
void TPEF::ASpaceElement::setWordSize | ( | Byte | aWordSize | ) |
Referenced by TPEF::TPEFASpaceSectionReader::readData(), and TPEF::AOutReader::readData().
Byte TPEF::ASpaceElement::wordSize | ( | ) | const |
|
private |
Aligment.
Definition at line 70 of file ASpaceElement.hh.
|
private |
Minimum addressable unit.
Definition at line 68 of file ASpaceElement.hh.
|
private |
Name.
Definition at line 74 of file ASpaceElement.hh.
|
private |
Word size.
Definition at line 72 of file ASpaceElement.hh.