Searched refs:sect (Results 1 – 8 of 8) sorted by relevance
/device/google/contexthub/util/nanoapp_postprocess/ |
D | postprocess_elf.c | 232 struct SectInfo *sect; in finalizeAndWrite() local 251 app.sect = bin->sect; in finalizeAndWrite() 260 sect = &app.sect; in finalizeAndWrite() 264 uint32_t codeAndRoDataSz = sect->data_data; in finalizeAndWrite() 265 uint32_t relocsSz = sect->rel_end - sect->rel_start; in finalizeAndWrite() 266 uint32_t gotSz = sect->got_end - sect->data_start; in finalizeAndWrite() 267 uint32_t bssSz = sect->bss_end - sect->bss_start; in finalizeAndWrite() 298 struct SectInfo *sect; in handleApp() local 320 sect = &bin->sect; in handleApp() 324 relocs = (struct RelocEntry*)(buf + sect->rel_start - FLASH_BASE); in handleApp() [all …]
|
D | postprocess.c | 242 struct SectInfo *sect; in finalizeAndWrite() local 260 app.sect = bin->sect; in finalizeAndWrite() 262 sect = &app.sect; in finalizeAndWrite() 267 size_t gotSz = sect->got_end - sect->data_start; in finalizeAndWrite() 268 size_t bssSz = sect->bss_end - sect->bss_start; in finalizeAndWrite() 364 flashDataOffset = app->bin->sect.data_data - FLASH_BASE; in fixupReloc() 408 struct SectInfo *sect; in handleApp() local 429 sect = &bin->sect; in handleApp() 432 …if (!IS_IN_FLASH(sect->rel_start) || !IS_IN_FLASH(sect->rel_end) || !IS_IN_FLASH(sect->data_data))… in handleApp() 436 if (!IS_IN_RAM(sect->data_start) || !IS_IN_RAM(sect->data_end) || !IS_IN_RAM(sect->bss_start) || in handleApp() [all …]
|
/device/google/contexthub/firmware/os/cpu/cortexm4/ |
D | appSupport.c | 143 const struct SectInfo *sect = &app->sect; in cpuAppLoad() local 144 const uint8_t *relocsStart = (const uint8_t*)APP_FLASH_RELOC(app, sect->rel_start); in cpuAppLoad() 145 const uint8_t *relocsEnd = (const uint8_t*)APP_FLASH_RELOC(app, sect->rel_end); in cpuAppLoad() 146 uint8_t *mem = heapAlloc(sect->bss_end); in cpuAppLoad() 152 platInfo->data = mem + sect->data_start; in cpuAppLoad() 155 memset(mem + sect->bss_start, 0, sect->bss_end - sect->bss_start); in cpuAppLoad() 158 …memcpy(mem + sect->data_start, (uint8_t*)APP_FLASH_RELOC(app, sect->data_data), sect->got_end - se… in cpuAppLoad() 173 heapFree((uint8_t*)platInfo->data - app->sect.data_start); in cpuAppUnload()
|
/device/google/contexthub/lib/include/nanohub/ |
D | nanohub.h | 111 #define FLASH_RELOC_OFFSET offsetof(struct AppHdr, sect) // used by appSupport.c at run time 112 #define BINARY_RELOC_OFFSET offsetof(struct BinHdr, sect) // used by postprocess at build time 122 struct SectInfo sect; member 129 struct SectInfo sect; member 192 struct SectInfo sect; member
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/ |
D | FfsFileStatement.py | 119 for sect in sectList: 120 SectionFiles.append(sect)
|
/device/google/contexthub/firmware/build/ |
D | nanohub_executable.mk | 81 …PY_FLAGS) $(GLOBAL_NANO_OBJCOPY_FLAGS_$(AUX_CPU)) $(foreach sect,$(LOCAL_OBJCOPY_SECT), -j $(sect))
|
/device/google/marlin/sepolicy/ |
D | domain.te | 28 # As described at http://www.makelinux.net/ldd3/chp-14-sect-8 ,
|
/device/google/contexthub/firmware/os/core/ |
D | seos.c | 1334 *appSize = app->sect.rel_end; in osAppInfoById() 1355 *appSize = app->sect.rel_end; in osAppInfoByIndex()
|