Home
last modified time | relevance | path

Searched refs:rel_end (Results 1 – 5 of 5) sorted by relevance

/device/google/contexthub/util/nanoapp_postprocess/
Dpostprocess_elf.c268 uint32_t relocsSz = sect->rel_end - sect->rel_start; in finalizeAndWrite()
328 syms = (struct SymtabEntry*)(buf + sect->rel_end - FLASH_BASE); in handleApp()
329 numRelocs = (sect->rel_end - sect->rel_start) / sizeof(struct RelocEntry); in handleApp()
330 numSyms = (bufUsed + FLASH_BASE - sect->rel_end) / sizeof(struct SymtabEntry); in handleApp()
333 if (numRelocs * sizeof(struct RelocEntry) + sect->rel_start != sect->rel_end) { in handleApp()
337 if (numSyms * sizeof(struct SymtabEntry) + sect->rel_end != bufUsed + FLASH_BASE) { in handleApp()
505 sect->rel_end = sect->rel_start + packedNanoRelocSz; in handleApp()
508 if (sect->rel_end - FLASH_BASE != bufUsed) { in handleApp()
527 …f (!IS_IN_FLASH(sect->data_data) || !IS_IN_FLASH(sect->rel_start) || !IS_IN_FLASH(sect->rel_end)) { in handleApp()
533 sect->rel_end -= FLASH_BASE + BINARY_RELOC_OFFSET; in handleApp()
[all …]
Dpostprocess.c432 …if (!IS_IN_FLASH(sect->rel_start) || !IS_IN_FLASH(sect->rel_end) || !IS_IN_FLASH(sect->data_data))… in handleApp()
444 app.symtab = (struct SymtabEntry*)(buf + sect->rel_end - FLASH_BASE); in handleApp()
445 app.relocSize = (sect->rel_end - sect->rel_start) / sizeof(struct RelocEntry); in handleApp()
458 if (app.relocSize * sizeof(struct RelocEntry) + sect->rel_start != sect->rel_end) { in handleApp()
462 if (app.symtabSize * sizeof(struct SymtabEntry) + sect->rel_end != bufUsed + FLASH_BASE) { in handleApp()
551 sect->rel_end = sect->rel_start + app.packedNanoRelocSize; in handleApp()
564 sect->rel_end -= FLASH_BASE + BINARY_RELOC_OFFSET; in handleApp()
/device/google/contexthub/lib/include/nanohub/
Dnanohub.h113 uint32_t rel_end; member
/device/google/contexthub/firmware/os/cpu/cortexm4/
DappSupport.c145 const uint8_t *relocsEnd = (const uint8_t*)APP_FLASH_RELOC(app, sect->rel_end); in cpuAppLoad()
/device/google/contexthub/firmware/os/core/
Dseos.c1435 *appSize = app->sect.rel_end; in osAppInfoById()
1456 *appSize = app->sect.rel_end; in osAppInfoByIndex()
1477 *appSize = app->sect.rel_end; in osExtAppInfoByIndex()