/device/google/contexthub/firmware/os/inc/ |
D | seos.h | 190 bool osSegmentSetSize(struct Segment *seg, uint32_t size); 196 static inline int32_t osSegmentGetSize(const struct Segment *seg) in osSegmentGetSize() argument 198 return seg ? seg->size[0] | (seg->size[1] << 8) | (seg->size[2] << 16) : SEG_SIZE_INVALID; in osSegmentGetSize() 201 static inline uint32_t osSegmentGetState(const struct Segment *seg) in osSegmentGetState() argument 203 return seg ? seg->state : SEG_STATE_INVALID; in osSegmentGetState() 206 static inline struct AppHdr *osSegmentGetData(const struct Segment *seg) in osSegmentGetData() argument 208 return (struct AppHdr*)(&seg[1]); in osSegmentGetData() 218 static inline uint32_t osSegmentGetCrc(const struct Segment *seg) in osSegmentGetCrc() argument 220 struct SegmentFooter *footer = (struct SegmentFooter *)(((uint8_t*)seg) + in osSegmentGetCrc() 221 ((osSegmentGetSize(seg) + 3) & ~3) + sizeof(*seg)); in osSegmentGetCrc() [all …]
|
/device/google/contexthub/firmware/os/core/ |
D | seos.c | 469 it->seg = NULL; in osSegmentIteratorInit() 475 struct Segment *seg = osGetSegment(app); in osAppSegmentSetState() local 478 if (!seg) in osAppSegmentSetState() 483 done = BL.blProgramShared(&seg->state, &state, sizeof(state), BL_FLASH_KEY1, BL_FLASH_KEY2); in osAppSegmentSetState() 490 bool osSegmentSetSize(struct Segment *seg, uint32_t size) in osSegmentSetSize() argument 494 if (!seg) in osSegmentSetSize() 498 seg->state = SEG_ST_ERASED; in osSegmentSetSize() 502 seg->size[0] = size; in osSegmentSetSize() 503 seg->size[1] = size >> 8; in osSegmentSetSize() 504 seg->size[2] = size >> 16; in osSegmentSetSize() [all …]
|
D | nanohubCommand.c | 335 struct Segment *seg = osGetSegment(app); in deferredUpdateOs() local 336 uint32_t segSize = osSegmentGetSize(seg); in deferredUpdateOs() 1610 state = osSegmentGetState(it.seg); in halAppInfo() 1618 if (le32toh(req->addr) <= (uint32_t)osSegmentGetData(it.seg)) { in halAppInfo() 1619 …ret = processAppTags(osSegmentGetData(it.seg), osSegmentGetCrc(it.seg), osSegmentGetSize(it.seg), … in halAppInfo()
|
/device/linaro/bootloader/edk2/OvmfPkg/XenPvBlkDxe/ |
D | BlockFront.c | 472 Request->seg[Index].first_sect = 0; in XenPvBlockAsyncIo() 473 Request->seg[Index].last_sect = EFI_PAGE_SIZE / 512 - 1; in XenPvBlockAsyncIo() 475 Request->seg[0].first_sect = (UINT8)(((UINTN) IoData->Buffer & EFI_PAGE_MASK) / 512); in XenPvBlockAsyncIo() 476 Request->seg[NumSegments - 1].last_sect = in XenPvBlockAsyncIo() 482 &Request->seg[Index].gref); in XenPvBlockAsyncIo() 483 IoData->GrantRef[Index] = Request->seg[Index].gref; in XenPvBlockAsyncIo()
|
/device/linaro/bootloader/edk2/OvmfPkg/Include/IndustryStandard/Xen/io/ |
D | blkif.h | 547 struct blkif_request_segment seg[BLKIF_MAX_SEGMENTS_PER_REQUEST]; member
|
/device/google/contexthub/util/nanoapp_postprocess/ |
D | postprocess.c | 492 const char *seg; in handleApp() local 495 seg = ".bss"; in handleApp() 497 seg = ".data"; in handleApp() 499 seg = ".got"; in handleApp() 501 seg = "APPHDR"; in handleApp() 503 seg = "???"; in handleApp() 506 i, reloc->where, reloc->info & 0xff, whichSym, sym->addr, seg); in handleApp()
|
D | postprocess_elf.c | 371 const char *seg; in handleApp() local 377 seg = ".bss"; in handleApp() 379 seg = ".data"; in handleApp() 381 seg = ".got"; in handleApp() 383 seg = "APPHDR"; in handleApp() 385 seg = "???"; in handleApp() 387 fprintf(stderr, "in %s}\n", seg); in handleApp()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/X64/ |
D | EnablePaging64.asm | 40 add dword ptr [rsp], @F - @Base ; offset for far retf, seg is the 1st arg
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/Ia32/ |
D | EnablePaging64.S | 39 movl $LongStart, (%esp) # offset for far retf, seg is the 1st arg
|
D | EnablePaging64.asm | 41 mov DWORD PTR [esp], @F ; offset for far retf, seg is the 1st arg
|
D | EnablePaging64.nasm | 40 mov DWORD [esp], .0 ; offset for far retf, seg is the 1st arg
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/Ia32/ |
D | EnablePaging64.asm | 39 mov [esp], @F ; offset for far retf, seg is the 1st arg
|
/device/linaro/bootloader/edk2/DuetPkg/BootSector/bin/ |
D | efi64.com | 6 …lid opcode -07h Device not available -08h Double fault -09h Coprocessor seg overrun (reserved) …
|
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/ |
D | SmiEntry.nasm | 150 add dword [rsp], @LongMode - Base; offset for far retf, seg is the 1st arg
|
D | SmiEntry.S | 172 addl $(LongMode - Base), (%rsp) # offset for far retf, seg is the 1st arg
|
D | SmiEntry.asm | 167 add dword ptr [rsp], @LongMode - Base; offset for far retf, seg is the 1st arg
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/ |
D | SmiEntry.S | 173 addl $(LongMode - Base), (%rsp) # offset for far retf, seg is the 1st arg
|
D | SmiEntry.nasm | 151 add dword [rsp], @LongMode - Base; offset for far retf, seg is the 1st arg
|
D | SmiEntry.asm | 168 add dword ptr [rsp], @LongMode - Base; offset for far retf, seg is the 1st arg
|
/device/linaro/bootloader/edk2/DuetPkg/BootSector/ |
D | start16.S | 241 andw $0x7f, %ax # ax = Number of blocks into current seg
|
D | start.S | 247 andw $0x7f, %ax # ax = Number of blocks into current seg
|
D | start16.asm | 237 and ax,07fh ; ax = Number of blocks into current seg
|
D | start32.S | 256 andw $0x7f, %ax # ax = Number of blocks into current seg
|
D | start.asm | 244 and ax,07fh ; ax = Number of blocks into current seg
|
D | start32.asm | 252 and ax,07fh ; ax = Number of blocks into current seg
|