Home
last modified time | relevance | path

Searched refs:EncoreBootImage (Results 1 – 12 of 12) sorted by relevance

/netbsd-src/external/bsd/elftosb/dist/common/
H A DEncoreBootImage.cpp22 EncoreBootImage::EncoreBootImage() in EncoreBootImage() function in EncoreBootImage
30 EncoreBootImage::~EncoreBootImage() in ~EncoreBootImage()
42 void EncoreBootImage::addSection(Section * newSection) in addSection()
61 EncoreBootImage::section_iterator_t EncoreBootImage::findSection(Section * section) in findSection()
66 void EncoreBootImage::setProductVersion(const version_t & version) in setProductVersion()
71 void EncoreBootImage::setComponentVersion(const version_t & version) in setComponentVersion()
83 void EncoreBootImage::writeToStream(std::ostream & stream) in writeToStream()
329 void EncoreBootImage::prepareImageHeader(boot_image_header_t & header) in prepareImageHeader()
392 uint64_t EncoreBootImage::getTimestamp() in getTimestamp()
408 EncoreBootImage::Section * EncoreBootImage::findFirstBootableSection() in findFirstBootableSection()
[all …]
H A DEncoreBootImage.h90 class EncoreBootImage : public BootImage
735 void setImage(EncoreBootImage * image) { m_image = image; } in setImage()
738 EncoreBootImage * getImage() const { return m_image; } in getImage()
764 EncoreBootImage * m_image; //!< The image to which this section belongs.
883 EncoreBootImage();
886 virtual ~EncoreBootImage();
/netbsd-src/external/bsd/elftosb/dist/elftosb2/
H A DEncoreBootImageGenerator.cpp22 EncoreBootImage * image = new EncoreBootImage(); in generate()
53 void EncoreBootImageGenerator::processOptions(EncoreBootImage * image) in processOptions()
79 void EncoreBootImageGenerator::processSectionOptions(EncoreBootImage::Section * imageSection, Outpu… in processSectionOptions()
112 if (intValue->getValue() < EncoreBootImage::BOOT_IMAGE_MINIMUM_SECTION_ALIGNMENT) in processSectionOptions()
142 …mageGenerator::processOperationSection(OperationSequenceSection * section, EncoreBootImage * image) in processOperationSection()
144EncoreBootImage::BootSection * newSection = new EncoreBootImage::BootSection(section->getIdentifie… in processOperationSection()
183 void EncoreBootImageGenerator::processLoadOperation(LoadOperation * op, EncoreBootImage::BootSectio… in processLoadOperation()
203 EncoreBootImage::FillCommand * command = new EncoreBootImage::FillCommand(); in processLoadOperation()
217 EncoreBootImage::LoadCommand * command = new EncoreBootImage::LoadCommand(); in processLoadOperation()
229 void EncoreBootImageGenerator::setFillPatternFromValue(EncoreBootImage::FillCommand & command, Size… in setFillPatternFromValue()
[all …]
H A DEncoreBootImageGenerator.h41 void processOptions(EncoreBootImage * image);
42 void processSectionOptions(EncoreBootImage::Section * imageSection, OutputSection * modelSection);
44 void processOperationSection(OperationSequenceSection * section, EncoreBootImage * image);
45 void processDataSection(BinaryDataSection * section, EncoreBootImage * image);
47 void processLoadOperation(LoadOperation * op, EncoreBootImage::BootSection * section);
48 void processExecuteOperation(ExecuteOperation * op, EncoreBootImage::BootSection * section);
49 void processBootModeOperation(BootModeOperation * op, EncoreBootImage::BootSection * section);
51 void setFillPatternFromValue(EncoreBootImage::FillCommand & command, SizedIntegerValue & pattern);
H A Delftosb.cpp571 elftosb::EncoreBootImage * encoreImage = dynamic_cast<elftosb::EncoreBootImage*>(image.get()); in convert()
599 void addCryptoKeys(elftosb::EncoreBootImage * encoreImage) in addCryptoKeys()
/netbsd-src/external/bsd/elftosb/dist/sbtool/
H A DEncoreBootImageReader.cpp136 EncoreBootImage::section_header_t header; in readSectionTable()
182 mac.update((const uint8_t *)&(*it), sizeof(EncoreBootImage::section_header_t)); in readKeyDictionary()
197 EncoreBootImage::dek_dictionary_entry_t entry; in readKeyDictionary()
243 EncoreBootImage::boot_command_t header; in readBootTags()
265 if (header.m_tag != EncoreBootImage::ROM_TAG_CMD) in readBootTags()
281 if (header.m_flags & EncoreBootImage::ROM_LAST_TAG || bootTagOffset >= m_header.m_imageBlocks - 2) in readBootTags()
288 uint8_t EncoreBootImageReader::calculateCommandChecksum(EncoreBootImage::boot_command_t & header) in calculateCommandChecksum()
309 EncoreBootImage::Section * EncoreBootImageReader::readSection(unsigned index) in readSection()
313 EncoreBootImage::section_header_t & header = m_sections[index]; in readSection()
331 if (isEncrypted() && (header.m_flags & EncoreBootImage::ROM_SECTION_CLEARTEXT) == 0) in readSection()
[all …]
H A DEncoreBootImageReader.h32 typedef std::vector<EncoreBootImage::section_header_t> section_array_t;
35 typedef std::vector<EncoreBootImage::boot_command_t> boot_tag_array_t;
78 EncoreBootImage::Section * readSection(unsigned index);
90 const EncoreBootImage::boot_image_header_t & getHeader() const { return m_header; } in getHeader()
105 EncoreBootImage::boot_image_header_t m_header; //!< Header from the boot image.
112 uint8_t calculateCommandChecksum(EncoreBootImage::boot_command_t & header);
H A Dsbtool.cpp300 const EncoreBootImage::boot_image_header_t & header = m_reader->getHeader(); in readBootImage()
330 const EncoreBootImage::section_header_t & sectionHeader = *it; in readBootImage()
418 const EncoreBootImage::boot_command_t & command = *tagIt; in readBootImage()
421 if (command.m_data & EncoreBootImage::ROM_SECTION_BOOTABLE) in readBootImage()
426 if (command.m_data & EncoreBootImage::ROM_SECTION_CLEARTEXT) in readBootImage()
438 EncoreBootImage::Section * section = m_reader->readSection(n); in readBootImage()
454 void extractSection(EncoreBootImage::Section * section) in extractSection()
528 void dumpImageHeader(const EncoreBootImage::boot_image_header_t & header) in dumpImageHeader()
560 void dumpSectionHeader(const EncoreBootImage::section_header_t & header) in dumpSectionHeader()
568 if (header.m_flags & EncoreBootImage::ROM_SECTION_BOOTABLE) in dumpSectionHeader()
[all …]
/netbsd-src/external/bsd/elftosb/dist/elftosb.xcodeproj/
H A Dproject.pbxproj47 …C0A1668580027E24E /* EncoreBootImage.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 02F8D41C09…
109 …E09FE86FB004CBE69 /* EncoreBootImage.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 02F8D41C09…
285 …FA004CBE69 /* EncoreBootImage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType …
286 …04CBE69 /* EncoreBootImage.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType =…
357 02F8D41C09FE86FA004CBE69 /* EncoreBootImage.cpp */,
358 02F8D41B09FE86FA004CBE69 /* EncoreBootImage.h */,
631 020D468C0A1668580027E24E /* EncoreBootImage.cpp in Sources */,
689 02F8D41E09FE86FB004CBE69 /* EncoreBootImage.cpp in Sources */,
H A Dcreed.pbxuser3276 fRef = 02F8D41C09FE86FA004CBE69 /* EncoreBootImage.cpp */;
3277 name = "EncoreBootImage.cpp: 857";
3513 fRef = 02F8D41B09FE86FA004CBE69 /* EncoreBootImage.h */;
3514 name = "EncoreBootImage.h: 670";
3879 02F8D41B09FE86FA004CBE69 /* EncoreBootImage.h */ = {
3888 02F8D41C09FE86FA004CBE69 /* EncoreBootImage.cpp */ = {
/netbsd-src/external/bsd/elftosb/lib/
H A DMakefile16 EncoreBootImage.cpp \
/netbsd-src/external/bsd/elftosb/dist/
H A Dmakefile.rules55 EncoreBootImage.o \