Home
last modified time | relevance | path

Searched refs:displacement (Results 1 – 2 of 2) sorted by relevance

/device/google/contexthub/util/nanoapp_postprocess/
Dpostprocess.c160 uint32_t displacement; in packNanoRelocs() local
177 displacement = app->nanoReloc[i].ofstInRam - origin; in packNanoRelocs()
179 if (displacement & 3) { in packNanoRelocs()
183 displacement /= 4; in packNanoRelocs()
186 if (!displacement) { in packNanoRelocs()
202 if (displacement <= MAX_8_BIT_NUM) { in packNanoRelocs()
204 DBG("Out: Reloc8 [size 1] 0x%02" PRIX32, displacement); in packNanoRelocs()
205 packedNanoRelocs[packedNanoRelocSz++] = displacement; in packNanoRelocs()
206 } else if (displacement <= MAX_16_BIT_NUM) { in packNanoRelocs()
208 DBG("Out: Reloc16 [size 3] 0x%06" PRIX32, displacement); in packNanoRelocs()
[all …]
Dpostprocess_elf.c152 uint32_t displacement; in packNanoRelocs() local
169 displacement = nanoRelocs[i].ofstInRam - origin; in packNanoRelocs()
171 if (displacement & 3) { in packNanoRelocs()
175 displacement /= 4; in packNanoRelocs()
178 if (!displacement) { in packNanoRelocs()
192 if (displacement <= MAX_8_BIT_NUM) { in packNanoRelocs()
194 fprintf(stderr, "Out: Reloc8 0x%02" PRIX32 "\n", displacement); in packNanoRelocs()
195 packedNanoRelocs[packedNanoRelocSz++] = displacement; in packNanoRelocs()
197 else if (displacement <= MAX_16_BIT_NUM) { in packNanoRelocs()
199 fprintf(stderr, "Out: Reloc16 0x%06" PRIX32 "\n", displacement); in packNanoRelocs()
[all …]