Home
last modified time | relevance | path

Searched refs:rel_start (Results 1 – 4 of 4) sorted by relevance

/device/google/contexthub/util/nanoapp_postprocess/
Dpostprocess.c432 …if (!IS_IN_FLASH(sect->rel_start) || !IS_IN_FLASH(sect->rel_end) || !IS_IN_FLASH(sect->data_data))… in handleApp()
443 app.reloc = (struct RelocEntry*)(buf + sect->rel_start - FLASH_BASE); in handleApp()
445 app.relocSize = (sect->rel_end - sect->rel_start) / sizeof(struct RelocEntry); in handleApp()
452 app.codeAndDataSize = sect->rel_start - FLASH_BASE - sizeof(*bin); in handleApp()
458 if (app.relocSize * sizeof(struct RelocEntry) + sect->rel_start != sect->rel_end) { in handleApp()
551 sect->rel_end = sect->rel_start + app.packedNanoRelocSize; in handleApp()
563 sect->rel_start -= FLASH_BASE + BINARY_RELOC_OFFSET; in handleApp()
Dpostprocess_elf.c268 uint32_t relocsSz = sect->rel_end - sect->rel_start; in finalizeAndWrite()
327 relocs = (struct RelocEntry*)(buf + sect->rel_start - FLASH_BASE); in handleApp()
329 numRelocs = (sect->rel_end - sect->rel_start) / sizeof(struct RelocEntry); in handleApp()
333 if (numRelocs * sizeof(struct RelocEntry) + sect->rel_start != sect->rel_end) { in handleApp()
505 sect->rel_end = sect->rel_start + packedNanoRelocSz; in handleApp()
527 …if (!IS_IN_FLASH(sect->data_data) || !IS_IN_FLASH(sect->rel_start) || !IS_IN_FLASH(sect->rel_end))… in handleApp()
532 sect->rel_start -= FLASH_BASE + BINARY_RELOC_OFFSET; in handleApp()
694 if (fixupAddrElf(&hdr->sect.rel_start) != NANO_RELOC_TYPE_FLASH || in fixupHeaderElf()
826 hdr->sect.rel_end = hdr->sect.rel_start + app.packedNanoRelocs.size; in handleAppStatic()
/device/google/contexthub/lib/include/nanohub/
Dnanohub.h112 uint32_t rel_start; member
/device/google/contexthub/firmware/os/cpu/cortexm4/
DappSupport.c144 const uint8_t *relocsStart = (const uint8_t*)APP_FLASH_RELOC(app, sect->rel_start); in cpuAppLoad()