Home
last modified time | relevance | path

Searched refs:task (Results 1 – 20 of 20) sorted by relevance

/device/google/contexthub/firmware/os/core/
Dseos.c74 struct Task *osSetCurrentTask(struct Task *task) in osSetCurrentTask() argument
79 if (atomicCmpXchgPtr((uintptr_t*)&mCurrentTask, (uintptr_t)old, (uintptr_t)task)) { in osSetCurrentTask()
88 static inline bool osTaskTestFlags(struct Task *task, uint32_t mask) in osTaskTestFlags() argument
90 return (atomicReadByte(&task->flags) & mask) != 0; in osTaskTestFlags()
95 struct Task *task = osTaskFindByTid(tid); in osAppIsChre() local
97 return task && osTaskIsChre(task); in osAppIsChre()
100 static inline uint32_t osTaskClrSetFlags(struct Task *task, uint32_t clrMask, uint32_t setMask) in osTaskClrSetFlags() argument
103 uint8_t flags = atomicReadByte(&task->flags); in osTaskClrSetFlags()
105 if (atomicCmpXchgByte(&task->flags, flags, newFlags)) in osTaskClrSetFlags()
110 static inline uint32_t osTaskAddIoCount(struct Task *task, int32_t delta) in osTaskAddIoCount() argument
[all …]
Dnanohub_chre.c54 struct Task *task = osGetCurrentTask(); in osChreGetAppId() local
55 const struct AppHdr *app = task ? task->app : NULL; in osChreGetAppId()
119 struct Task *task = osGetCurrentTask(); in osChreAbort() local
121 task->app->hdr.appId, task->tid, abortCode); in osChreAbort()
122 osTaskAbort(task); in osChreAbort()
/device/google/contexthub/firmware/os/inc/
Dseos_priv.h24 #define for_each_task(listHead, task) for (task = osTaskByIdx((listHead)->next); task; task = osTas… argument
111 uint8_t osTaskIndex(struct Task *task);
113 struct Task *osSetCurrentTask(struct Task *task);
115 void osTaskAbort(struct Task *task);
116 void osTaskInvokeMessageFreeCallback(struct Task *task, void (*freeCallback)(void *, size_t), void …
117 void osTaskInvokeEventFreeCallback(struct Task *task, void (*freeCallback)(uint16_t, void *), uint1…
118 void osChreTaskHandle(struct Task *task, uint32_t evtType, const void *evtData);
120 static inline bool osTaskIsChre(const struct Task *task) in osTaskIsChre() argument
122 return (task->app->hdr.fwFlags & FL_APP_HDR_CHRE) != 0; in osTaskIsChre()
125 static inline void osTaskMakeNewTid(struct Task *task) in osTaskMakeNewTid() argument
[all …]
DnanohubPacket.h305 uint8_t task; member
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_thread.py43 thread.start_new_thread(self.task, (self.next_ident,))
47 def task(self, ident): member in ThreadRunningTests
113 def task(): function
117 thread.start_new_thread(task, ())
127 wr = weakref.ref(task, lambda _: done.append(None))
128 del task
Dtest_threaded_import.py15 def task(): function
67 thread.start_new_thread(task, ())
Dlock_tests.py33 def task(): function
43 start_new_thread(task, ())
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/ccbench/
Dccbench.py250 for task in throughput_tasks:
251 print(task.__doc__)
253 func, args = task()
381 for task in latency_tasks:
382 print("Background CPU task:", task.__doc__)
384 func, args = task()
508 for task in bandwidth_tasks:
509 print("Background CPU task:", task.__doc__)
511 func, args = task()
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtThunkDxe/
DWinNtThunkDxe.inf4 …ers to various Windows APIs used by various drivers to accomplish certain task in an NT32 emulator.
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/
Drefactor.py726 task = self.queue.get()
727 while task is not None:
728 args, kwargs = task
734 task = self.queue.get()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DebugSupportDxe/X64/
DAsmFuncs.asm191 ;; SS from interrupted task
192 ;; RSP from interrupted task
193 ;; rflags from interrupted task
194 ;; CS from interrupted task
195 ;; RIP from interrupted task
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DebugSupportDxe/Ia32/
DAsmFuncs.S99 ## eflags from interrupted task
100 ## CS from interrupted task
101 ## EIP from interrupted task
DAsmFuncs.asm193 ;; eflags from interrupted task
194 ;; CS from interrupted task
195 ;; EIP from interrupted task
/device/google/contexthub/contexthubhal/
Dsystem_comms.h72 uint8_t task; member
/device/linaro/bootloader/edk2/OvmfPkg/VirtioNetDxe/
DTechNotes.txt148 Events and task priority levels
179 The task priority level for the WaitForPacket callback too is set by the
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/
DSmiException.asm489 ; Executiot starts here after a task switch
DSmiException.S661 # Executiot starts here after a task switch
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/
DCHANGES_FROM_133.txt163 of prediction expressions in pccts. The task is only one of listing
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/
DCHANGES_FROM_133.txt834 of prediction expressions in pccts. The task is only one of listing
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/Binary/
Dmcuimage.bin713 ���vote stat:0x%x, map:0x%x, cli:0x%x, ����task:0x%x, slice:0x%x,