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.c265 uint32_t relocsSz = sect->rel_end - sect->rel_start; in finalizeAndWrite()
325 syms = (struct SymtabEntry*)(buf + sect->rel_end - FLASH_BASE); in handleApp()
326 numRelocs = (sect->rel_end - sect->rel_start) / sizeof(struct RelocEntry); in handleApp()
327 numSyms = (bufUsed + FLASH_BASE - sect->rel_end) / sizeof(struct SymtabEntry); in handleApp()
330 if (numRelocs * sizeof(struct RelocEntry) + sect->rel_start != sect->rel_end) { in handleApp()
334 if (numSyms * sizeof(struct SymtabEntry) + sect->rel_end != bufUsed + FLASH_BASE) { in handleApp()
502 sect->rel_end = sect->rel_start + packedNanoRelocSz; in handleApp()
505 if (sect->rel_end - FLASH_BASE != bufUsed) { in handleApp()
524 …f (!IS_IN_FLASH(sect->data_data) || !IS_IN_FLASH(sect->rel_start) || !IS_IN_FLASH(sect->rel_end)) { in handleApp()
530 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.h101 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.c1334 *appSize = app->sect.rel_end; in osAppInfoById()
1355 *appSize = app->sect.rel_end; in osAppInfoByIndex()