Searched refs:taskContext (Results 1 – 4 of 4) sorted by relevance
/kernel/liteos_m/arch/risc-v/riscv32/gcc/ |
D | los_interrupt.c | 245 const TaskContext *taskContext = &(exc->context->taskContext); in ExcInfoDisplayContext() local 247 PRINTK("mepc = 0x%x\n", taskContext->mepc); in ExcInfoDisplayContext() 248 PRINTK("mstatus = 0x%x\n", taskContext->mstatus); in ExcInfoDisplayContext() 251 PRINTK("ra = 0x%x\n", taskContext->ra); in ExcInfoDisplayContext() 252 PRINTK("sp = 0x%x\n", taskContext->sp); in ExcInfoDisplayContext() 254 PRINTK("tp = 0x%x\n", taskContext->tp); in ExcInfoDisplayContext() 255 PRINTK("t0 = 0x%x\n", taskContext->t0); in ExcInfoDisplayContext() 256 PRINTK("t1 = 0x%x\n", taskContext->t1); in ExcInfoDisplayContext() 257 PRINTK("t2 = 0x%x\n", taskContext->t2); in ExcInfoDisplayContext() 258 PRINTK("s0 = 0x%x\n", taskContext->s0); in ExcInfoDisplayContext() [all …]
|
D | los_arch_interrupt.h | 61 TaskContext taskContext; member
|
/kernel/liteos_a/arch/arm/arm/src/ |
D | los_hw.c | 77 … TaskContext *taskContext = (TaskContext *)(((UINTPTR)topStack + stackSize) - sizeof(TaskContext)); in OsTaskStackInit() local 81 taskContext->PC = (UINTPTR)OsTaskEntrySetupLoopFrame; in OsTaskStackInit() 83 taskContext->PC = (UINTPTR)OsTaskEntry; in OsTaskStackInit() 85 …taskContext->LR = (UINTPTR)OsTaskExit; /* LR should be kept, to distinguish it's THUMB or ARM ins… in OsTaskStackInit() 86 taskContext->R0 = taskID; /* R0 */ in OsTaskStackInit() 89 … taskContext->regCPSR = PSR_MODE_SVC_THUMB; /* CPSR (Enable IRQ and FIQ interrupts, THUMNB-mode) */ in OsTaskStackInit() 91 taskContext->regCPSR = PSR_MODE_SVC_ARM; /* CPSR (Enable IRQ and FIQ interrupts, ARM-mode) */ in OsTaskStackInit() 97 taskContext->D[index] = 0xAAA0000000000000LL + index; /* D0 - D31 */ in OsTaskStackInit() 99 taskContext->regFPSCR = 0; in OsTaskStackInit() 100 taskContext->regFPEXC = FP_EN; in OsTaskStackInit() [all …]
|
/kernel/liteos_a/kernel/base/core/ |
D | los_process.c | 1566 TaskContext *taskContext = (TaskContext *)OsTaskStackInit(taskCB->taskID, taskCB->stackSize, in OsExecStart() local 1568 OsUserTaskStackInit(taskContext, (UINTPTR)taskCB->taskEntry, sp); in OsExecStart()
|