/device/google/contexthub/firmware/os/inc/ |
H A D | seos.h | 190 bool osSegmentSetSize(struct Segment *seg, uint32_t size); 196 static inline int32_t osSegmentGetSize(const struct Segment *seg) argument 198 return seg ? seg->size[0] | (seg->size[1] << 8) | (seg->size[2] << 16) : SEG_SIZE_INVALID; 201 static inline uint32_t osSegmentGetState(const struct Segment *seg) argument 203 return seg ? seg->state : SEG_STATE_INVALID; 206 static inline struct AppHdr *osSegmentGetData(const struct Segment *seg) argument 218 osSegmentGetCrc(const struct Segment *seg) argument 230 osSegmentSizeGetNext(const struct Segment *seg, uint32_t size) argument 239 osSegmentGetNext(const struct Segment *seg) argument 256 struct Segment *seg = osGetSegment(app); local 270 const struct Segment *seg; member in struct:SegmentIterator 277 const struct Segment *seg = it->shared; local [all...] |
/device/google/contexthub/firmware/os/core/ |
H A D | seos.c | 469 it->seg = NULL; 475 struct Segment *seg = osGetSegment(app); local 478 if (!seg) 483 done = BL.blProgramShared(&seg->state, &state, sizeof(state), BL_FLASH_KEY1, BL_FLASH_KEY2); 490 bool osSegmentSetSize(struct Segment *seg, uint32_t size) argument 494 if (!seg) 498 seg->state = SEG_ST_ERASED; 502 seg->size[0] = size; 503 seg->size[1] = size >> 8; 504 seg 597 struct Segment seg; local 651 struct Segment *seg = osGetSegment(app); local 839 const struct Segment *seg; local [all...] |
H A D | nanohubCommand.c | 335 struct Segment *seg = osGetSegment(app); local 336 uint32_t segSize = osSegmentGetSize(seg); 1610 state = osSegmentGetState(it.seg); 1618 if (le32toh(req->addr) <= (uint32_t)osSegmentGetData(it.seg)) { 1619 ret = processAppTags(osSegmentGetData(it.seg), osSegmentGetCrc(it.seg), osSegmentGetSize(it.seg), resp->data, req->tags, rx_len - 4, state == SEG_ST_ERASED);
|
/device/linaro/bootloader/edk2/OvmfPkg/Include/IndustryStandard/Xen/io/ |
H A D | blkif.h | 547 struct blkif_request_segment seg[BLKIF_MAX_SEGMENTS_PER_REQUEST];
member in struct:blkif_request
|
/device/linaro/bootloader/edk2/OvmfPkg/XenPvBlkDxe/ |
H A D | BlockFront.c | 472 Request->seg[Index].first_sect = 0;
473 Request->seg[Index].last_sect = EFI_PAGE_SIZE / 512 - 1;
475 Request->seg[0].first_sect = (UINT8)(((UINTN) IoData->Buffer & EFI_PAGE_MASK) / 512);
476 Request->seg[NumSegments - 1].last_sect =
482 &Request->seg[Index].gref);
483 IoData->GrantRef[Index] = Request->seg[Index].gref;
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/Ia32/ |
H A D | EnablePaging64.S | 39 movl $LongStart, (%esp) # offset for far retf, seg is the 1st arg
|
H A D | EnablePaging64.asm | 41 mov DWORD PTR [esp], @F ; offset for far retf, seg is the 1st arg
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/Ia32/ |
H A D | EnablePaging64.asm | 39 mov [esp], @F ; offset for far retf, seg is the 1st arg
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/X64/ |
H A D | EnablePaging64.asm | 40 add dword ptr [rsp], @F - @Base ; offset for far retf, seg is the 1st arg
|
/device/google/contexthub/util/nanoapp_postprocess/ |
H A D | postprocess.c | 492 const char *seg; local 495 seg = ".bss"; 497 seg = ".data"; 499 seg = ".got"; 501 seg = "APPHDR"; 503 seg = "???"; 506 i, reloc->where, reloc->info & 0xff, whichSym, sym->addr, seg);
|
H A D | postprocess_elf.c | 371 const char *seg; local 377 seg = ".bss"; 379 seg = ".data"; 381 seg = ".got"; 383 seg = "APPHDR"; 385 seg = "???"; 387 fprintf(stderr, "in %s}\n", seg);
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/ |
H A D | SmiEntry.S | 173 addl $(LongMode - Base), (%rsp) # offset for far retf, seg is the 1st arg
|
H A D | SmiEntry.asm | 168 add dword ptr [rsp], @LongMode - Base; offset for far retf, seg is the 1st arg
|
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/ |
H A D | SmiEntry.S | 172 addl $(LongMode - Base), (%rsp) # offset for far retf, seg is the 1st arg
|
H A D | SmiEntry.asm | 167 add dword ptr [rsp], @LongMode - Base; offset for far retf, seg is the 1st arg
|
/device/linaro/bootloader/edk2/DuetPkg/BootSector/ |
H A D | efi32.asm | 544 Int9String db "09h Coprocessor seg overrun (reserved) -",0
|
H A D | start.S | 247 andw $0x7f, %ax # ax = Number of blocks into current seg
|
H A D | start16.S | 241 andw $0x7f, %ax # ax = Number of blocks into current seg
|
H A D | start32.S | 256 andw $0x7f, %ax # ax = Number of blocks into current seg
|
H A D | efi64.asm | 739 Int9String db "09h Coprocessor seg overrun (reserved) -",0
|
H A D | st16_64.S | 253 andw $0x7f,%ax # ax = Number of blocks into current seg
|
H A D | st32_64.S | 268 andw $0x7f,%ax # ax = Number of blocks into current seg
|
H A D | start64.S | 260 andw $0x7f,%ax # ax = Number of blocks into current seg
|
H A D | st16_64.asm | 249 and ax,07fh ; ax = Number of blocks into current seg
|
H A D | st32_64.asm | 265 and ax,07fh ; ax = Number of blocks into current seg
|