Lines Matching defs:EncoreBootImage
2 * File: EncoreBootImage.cpp
8 #include "EncoreBootImage.h"
22 EncoreBootImage::EncoreBootImage()
30 EncoreBootImage::~EncoreBootImage()
42 void EncoreBootImage::addSection(Section * newSection)
61 EncoreBootImage::section_iterator_t EncoreBootImage::findSection(Section * section)
66 void EncoreBootImage::setProductVersion(const version_t & version)
71 void EncoreBootImage::setComponentVersion(const version_t & version)
83 void EncoreBootImage::writeToStream(std::ostream & stream)
329 void EncoreBootImage::prepareImageHeader(boot_image_header_t & header)
392 uint64_t EncoreBootImage::getTimestamp()
408 EncoreBootImage::Section * EncoreBootImage::findFirstBootableSection()
428 uint32_t EncoreBootImage::getSectionOffset(Section * section)
462 unsigned EncoreBootImage::getPadBlockCountForSection(Section * section, unsigned offset)
486 uint32_t EncoreBootImage::getImageSize()
511 void EncoreBootImage::debugPrint() const
534 EncoreBootImage::BootCommand * EncoreBootImage::BootCommand::createFromData(const cipher_block_t * blocks, unsigned count, unsigned * consumed)
573 uint8_t EncoreBootImage::BootCommand::calculateChecksum(const boot_command_t & header)
590 unsigned EncoreBootImage::BootCommand::getBlockCount() const
608 unsigned EncoreBootImage::BootCommand::getBlocks(unsigned offset, unsigned maxCount, cipher_block_t * data)
653 void EncoreBootImage::BootCommand::validateHeader(const boot_command_t * modelHeader, const boot_command_t * testHeader, unsigned whichFields)
699 void EncoreBootImage::NopCommand::initFromData(const cipher_block_t * blocks, unsigned count, unsigned * consumed)
712 void EncoreBootImage::NopCommand::fillCommandHeader(boot_command_t & header)
722 void EncoreBootImage::NopCommand::debugPrint() const
731 EncoreBootImage::TagCommand::TagCommand(const Section & section)
745 void EncoreBootImage::TagCommand::initFromData(const cipher_block_t * blocks, unsigned count, unsigned * consumed)
762 void EncoreBootImage::TagCommand::fillCommandHeader(boot_command_t & header)
772 void EncoreBootImage::TagCommand::debugPrint() const
779 EncoreBootImage::LoadCommand::LoadCommand()
785 EncoreBootImage::LoadCommand::LoadCommand(uint32_t address, const uint8_t * data, uint32_t length)
802 void EncoreBootImage::LoadCommand::initFromData(const cipher_block_t * blocks, unsigned count, unsigned * consumed)
844 //! #elftosb::EncoreBootImage::boot_command_t::m_data. It contains a CRC-32 over the
846 void EncoreBootImage::LoadCommand::fillCommandHeader(boot_command_t & header)
862 uint32_t EncoreBootImage::LoadCommand::calculateCRC() const
881 void EncoreBootImage::LoadCommand::setData(const uint8_t * data, uint32_t length)
897 unsigned EncoreBootImage::LoadCommand::getDataBlockCount() const
922 unsigned EncoreBootImage::LoadCommand::getDataBlocks(unsigned offset, unsigned maxCount, cipher_block_t * data)
971 void EncoreBootImage::LoadCommand::fillPadding()
977 void EncoreBootImage::LoadCommand::debugPrint() const
984 EncoreBootImage::FillCommand::FillCommand()
996 void EncoreBootImage::FillCommand::initFromData(const cipher_block_t * blocks, unsigned count, unsigned * consumed)
1011 void EncoreBootImage::FillCommand::fillCommandHeader(boot_command_t & header)
1023 void EncoreBootImage::FillCommand::setPattern(uint8_t pattern)
1030 void EncoreBootImage::FillCommand::setPattern(uint16_t pattern)
1035 void EncoreBootImage::FillCommand::setPattern(uint32_t pattern)
1040 void EncoreBootImage::FillCommand::debugPrint() const
1052 void EncoreBootImage::ModeCommand::initFromData(const cipher_block_t * blocks, unsigned count, unsigned * consumed)
1065 void EncoreBootImage::ModeCommand::fillCommandHeader(boot_command_t & header)
1075 void EncoreBootImage::ModeCommand::debugPrint() const
1087 void EncoreBootImage::JumpCommand::initFromData(const cipher_block_t * blocks, unsigned count, unsigned * consumed)
1102 void EncoreBootImage::JumpCommand::fillCommandHeader(boot_command_t & header)
1112 void EncoreBootImage::JumpCommand::debugPrint() const
1117 void EncoreBootImage::CallCommand::debugPrint() const
1125 void EncoreBootImage::Section::fillSectionHeader(section_header_t & header)
1145 void EncoreBootImage::Section::setAlignment(unsigned alignment)
1163 unsigned EncoreBootImage::Section::getPadBlockCountForOffset(unsigned offset)
1173 EncoreBootImage::BootSection::~BootSection()
1178 void EncoreBootImage::BootSection::deleteCommands()
1190 unsigned EncoreBootImage::BootSection::getBlockCount() const
1215 unsigned EncoreBootImage::BootSection::getBlocks(unsigned offset, unsigned maxCount, cipher_block_t * data)
1260 void EncoreBootImage::BootSection::fillFromData(const cipher_block_t * blocks, unsigned count)
1286 void EncoreBootImage::BootSection::debugPrint() const
1300 void EncoreBootImage::DataSection::setData(const uint8_t * data, unsigned length)
1309 void EncoreBootImage::DataSection::setDataNoCopy(const uint8_t * data, unsigned length)
1315 unsigned EncoreBootImage::DataSection::getBlockCount() const
1320 unsigned EncoreBootImage::DataSection::getBlocks(unsigned offset, unsigned maxCount, cipher_block_t * data)
1368 void EncoreBootImage::DataSection::debugPrint() const