Searched refs:FLASH_BASE (Results 1 – 4 of 4) sorted by relevance
35 #define FLASH_BASE 0x10000000u macro45 #define IS_IN_FLASH(_val) IS_IN_RANGE(_val, FLASH_BASE, FLASH_SIZE)321 *addr -= FLASH_BASE + BINARY_RELOC_OFFSET; in fixupAddress()360 relocOffset -= FLASH_BASE; in fixupReloc()364 flashDataOffset = app->bin->sect.data_data - FLASH_BASE; in fixupReloc()443 app.reloc = (struct RelocEntry*)(buf + sect->rel_start - FLASH_BASE); in handleApp()444 app.symtab = (struct SymtabEntry*)(buf + sect->rel_end - FLASH_BASE); in handleApp()451 app.codeAndRoDataSize = sect->data_data - FLASH_BASE - sizeof(*bin); in handleApp()452 app.codeAndDataSize = sect->rel_start - FLASH_BASE - sizeof(*bin); in handleApp()462 if (app.symtabSize * sizeof(struct SymtabEntry) + sect->rel_end != bufUsed + FLASH_BASE) { in handleApp()[all …]
37 #define FLASH_BASE 0x10000000 macro47 #define IS_IN_FLASH(_val) IS_IN_RANGE(_val, FLASH_BASE, FLASH_SIZE)327 relocs = (struct RelocEntry*)(buf + sect->rel_start - FLASH_BASE); in handleApp()328 syms = (struct SymtabEntry*)(buf + sect->rel_end - FLASH_BASE); in handleApp()330 numSyms = (bufUsed + FLASH_BASE - sect->rel_end) / sizeof(struct SymtabEntry); in handleApp()337 if (numSyms * sizeof(struct SymtabEntry) + sect->rel_end != bufUsed + FLASH_BASE) { in handleApp()382 else if (IS_IN_RANGE_E(relocs[i].where, FLASH_BASE, FLASH_BASE + sizeof(struct BinHdr))) in handleApp()390 …if (IS_IN_FLASH(relocs[i].where) && relocs[i].where - FLASH_BASE < sizeof(struct BinHdr) && relocT… in handleApp()398 valThereP = (uint32_t*)(buf + relocs[i].where - FLASH_BASE); in handleApp()414 *valThereP -= FLASH_BASE + BINARY_RELOC_OFFSET; in handleApp()[all …]
180 struct StmFlash *flash = (struct StmFlash *)FLASH_BASE; in _blEraseSectors()207 struct StmFlash *flash = (struct StmFlash *)FLASH_BASE; in blEraseSectors()285 struct StmFlash *flash = (struct StmFlash *)FLASH_BASE; in blWriteBytes()312 struct StmFlash *flash = (struct StmFlash *)FLASH_BASE; in blPlatProgramFlash()
163 #define FLASH_BASE 0x40023C00UL macro