Searched refs:seg (Results 1 - 25 of 29) sorted by relevance

12

/device/google/contexthub/firmware/os/inc/
H A Dseos.h190 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 Dseos.c469 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 DnanohubCommand.c335 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 Dblkif.h547 struct blkif_request_segment seg[BLKIF_MAX_SEGMENTS_PER_REQUEST]; member in struct:blkif_request
/device/linaro/bootloader/edk2/OvmfPkg/XenPvBlkDxe/
H A DBlockFront.c472 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 DEnablePaging64.S39 movl $LongStart, (%esp) # offset for far retf, seg is the 1st arg
H A DEnablePaging64.asm41 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 DEnablePaging64.asm39 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 DEnablePaging64.asm40 add dword ptr [rsp], @F - @Base ; offset for far retf, seg is the 1st arg
/device/google/contexthub/util/nanoapp_postprocess/
H A Dpostprocess.c492 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 Dpostprocess_elf.c371 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 DSmiEntry.S173 addl $(LongMode - Base), (%rsp) # offset for far retf, seg is the 1st arg
H A DSmiEntry.asm168 add dword ptr [rsp], @LongMode - Base; offset for far retf, seg is the 1st arg
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/
H A DSmiEntry.S172 addl $(LongMode - Base), (%rsp) # offset for far retf, seg is the 1st arg
H A DSmiEntry.asm167 add dword ptr [rsp], @LongMode - Base; offset for far retf, seg is the 1st arg
/device/linaro/bootloader/edk2/DuetPkg/BootSector/
H A Defi32.asm544 Int9String db "09h Coprocessor seg overrun (reserved) -",0
H A Dstart.S247 andw $0x7f, %ax # ax = Number of blocks into current seg
H A Dstart16.S241 andw $0x7f, %ax # ax = Number of blocks into current seg
H A Dstart32.S256 andw $0x7f, %ax # ax = Number of blocks into current seg
H A Defi64.asm739 Int9String db "09h Coprocessor seg overrun (reserved) -",0
H A Dst16_64.S253 andw $0x7f,%ax # ax = Number of blocks into current seg
H A Dst32_64.S268 andw $0x7f,%ax # ax = Number of blocks into current seg
H A Dstart64.S260 andw $0x7f,%ax # ax = Number of blocks into current seg
H A Dst16_64.asm249 and ax,07fh ; ax = Number of blocks into current seg
H A Dst32_64.asm265 and ax,07fh ; ax = Number of blocks into current seg

Completed in 502 milliseconds

12