/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/smp/ |
D | It_smp_los_task_157.c | 51 …ret = LOS_TaskCpuAffiSet(g_testTaskID01, CPUID_TO_AFFI_MASK((ArchCurrCpuid() + 1) % (LOSCFG_KERNEL… in TaskF01() 54 ICUNIT_ASSERT_EQUAL_VOID(ArchCurrCpuid(), ArchCurrCpuid() + 1, ArchCurrCpuid()); in TaskF01() 65 task1.usCpuAffiMask = CPUID_TO_AFFI_MASK(ArchCurrCpuid()); in Testcase()
|
D | It_smp_los_task_161.c | 62 task1.usCpuAffiMask = CPUID_TO_AFFI_MASK((ArchCurrCpuid() + 1) % (LOSCFG_KERNEL_CORE_NUM)); in Testcase() 68 task1.usCpuAffiMask = CPUID_TO_AFFI_MASK((ArchCurrCpuid() + 1) % (LOSCFG_KERNEL_CORE_NUM)); in Testcase() 76 ret = LOS_TaskCpuAffiSet(g_testTaskID02, CPUID_TO_AFFI_MASK(ArchCurrCpuid())); in Testcase()
|
D | It_smp_los_task_137.c | 44 if (ArchCurrCpuid() == 0) { in TaskF01() 66 task1.usCpuAffiMask = CPUID_TO_AFFI_MASK((ArchCurrCpuid() + 1) % (LOSCFG_KERNEL_CORE_NUM)); in Testcase() 71 task1.usCpuAffiMask = CPUID_TO_AFFI_MASK((ArchCurrCpuid() + 1) % (LOSCFG_KERNEL_CORE_NUM)); in Testcase()
|
D | It_smp_los_task_053.c | 59 HalIrqSetAffinity(HWI_NUM_TEST, CPUID_TO_AFFI_MASK(ArchCurrCpuid())); // curret cpu in TaskF01() 88 task1.usCpuAffiMask = CPUID_TO_AFFI_MASK(ArchCurrCpuid()); in Testcase() 97 task1.usCpuAffiMask = CPUID_TO_AFFI_MASK(ArchCurrCpuid()); in Testcase()
|
D | It_smp_los_task_051.c | 62 HalIrqSetAffinity(HWI_NUM_TEST, CPUID_TO_AFFI_MASK(ArchCurrCpuid())); // current cpu in TaskF01() 90 task1.usCpuAffiMask = CPUID_TO_AFFI_MASK((ArchCurrCpuid() + 1) % (LOSCFG_KERNEL_CORE_NUM)); in Testcase() 97 task1.usCpuAffiMask = CPUID_TO_AFFI_MASK(ArchCurrCpuid()); in Testcase()
|
D | It_smp_los_task_089.c | 74 task1.usCpuAffiMask = CPUID_TO_AFFI_MASK((ArchCurrCpuid() + 1) % (LOSCFG_KERNEL_CORE_NUM)); in Testcase() 78 task1.usCpuAffiMask = CPUID_TO_AFFI_MASK((ArchCurrCpuid() + 1) % (LOSCFG_KERNEL_CORE_NUM)); in Testcase() 95 HalIrqSetAffinity(HWI_NUM_TEST, CPUID_TO_AFFI_MASK(ArchCurrCpuid())); in Testcase()
|
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/hwi/smp/ |
D | It_smp_los_hwi_011.c | 128 HalIrqSetAffinity(HWI_NUM_TEST, CPUID_TO_AFFI_MASK(ArchCurrCpuid())); // curret cpu in Testcase() 132 …HalIrqSetAffinity(HWI_NUM_TEST1, CPUID_TO_AFFI_MASK((ArchCurrCpuid() + 1) % LOSCFG_KERNEL_CORE_NUM… in Testcase() 136 HalIrqSetAffinity(HWI_NUM_TEST2, CPUID_TO_AFFI_MASK(ArchCurrCpuid())); // curret cpu in Testcase() 140 …HalIrqSetAffinity(HWI_NUM_TEST3, CPUID_TO_AFFI_MASK((ArchCurrCpuid() + 1) % LOSCFG_KERNEL_CORE_NUM… in Testcase() 147 … HalIrqSendIpi(CPUID_TO_AFFI_MASK((ArchCurrCpuid() + 1) % LOSCFG_KERNEL_CORE_NUM), HWI_NUM_TEST1); in Testcase() 148 HalIrqSendIpi(CPUID_TO_AFFI_MASK(ArchCurrCpuid()), HWI_NUM_TEST); in Testcase() 157 … HalIrqSendIpi(CPUID_TO_AFFI_MASK((ArchCurrCpuid() + 1) % LOSCFG_KERNEL_CORE_NUM), HWI_NUM_TEST3); in Testcase() 158 HalIrqSendIpi(CPUID_TO_AFFI_MASK(ArchCurrCpuid()), HWI_NUM_TEST2); in Testcase()
|
D | It_smp_los_hwi_ipi_004.c | 46 ICUNIT_ASSERT_EQUAL_VOID(ArchCurrCpuid(), g_targetCpuid, ArchCurrCpuid()); in HwiF01() 75 currCpuid = (ArchCurrCpuid() + 1) % (LOSCFG_KERNEL_CORE_NUM); // other cpu in Testcase() 77 g_targetCpuid = ArchCurrCpuid(); in Testcase()
|
D | It_smp_los_hwi_ipi_002.c | 46 ICUNIT_ASSERT_EQUAL_VOID(ArchCurrCpuid(), g_targetCpuid, ArchCurrCpuid()); in HwiF01() 72 CPUID_TO_AFFI_MASK((ArchCurrCpuid() + i + 1) % in Testcase() 78 g_targetCpuid = (ArchCurrCpuid() + 1) % LOSCFG_KERNEL_CORE_NUM; // other cpu in Testcase()
|
D | It_smp_los_hwi_ipi_001.c | 46 ICUNIT_GOTO_EQUAL(ArchCurrCpuid(), g_targetCpuid, ArchCurrCpuid(), EXIT); in HwiF01() 76 CPUID_TO_AFFI_MASK((ArchCurrCpuid() + i + 1) % in Testcase() 82 g_targetCpuid = ArchCurrCpuid(); // currernt cpu in Testcase()
|
D | It_smp_los_hwi_nest_004.c | 53 … HalIrqSendIpi(CPUID_TO_AFFI_MASK((ArchCurrCpuid() + 1) % LOSCFG_KERNEL_CORE_NUM), HWI_NUM_TEST1); in HwiF01() 72 HalIrqSetAffinity(HWI_NUM_TEST, CPUID_TO_AFFI_MASK(ArchCurrCpuid())); // curret cpu in Testcase() 76 …HalIrqSetAffinity(HWI_NUM_TEST1, CPUID_TO_AFFI_MASK((ArchCurrCpuid() + 1) % LOSCFG_KERNEL_CORE_NUM… in Testcase() 81 HalIrqSendIpi(CPUID_TO_AFFI_MASK(ArchCurrCpuid()), HWI_NUM_TEST); in Testcase()
|
D | It_smp_los_hwi_nest_002.c | 59 LOS_EventWrite(&g_event, 0x1 << (ArchCurrCpuid())); in TaskF01() 80 HalIrqSetAffinity(HWI_NUM_TEST, CPUID_TO_AFFI_MASK(ArchCurrCpuid())); // curret cpu in Testcase() 84 CPUID_TO_AFFI_MASK((ArchCurrCpuid() + i + 1) % in Testcase() 92 g_targetCpuid = (ArchCurrCpuid() + 1) % LOSCFG_KERNEL_CORE_NUM; // other cpu in Testcase()
|
D | It_smp_los_hwi_012.c | 73 HalIrqSetAffinity(HWI_NUM_TEST, CPUID_TO_AFFI_MASK(ArchCurrCpuid())); // curret cpu in Testcase() 78 …HalIrqSetAffinity(HWI_NUM_TEST1, CPUID_TO_AFFI_MASK((ArchCurrCpuid() + 1) % LOSCFG_KERNEL_CORE_NUM… in Testcase() 94 … HalIrqSendIpi(CPUID_TO_AFFI_MASK((ArchCurrCpuid() + 1) % LOSCFG_KERNEL_CORE_NUM), HWI_NUM_TEST1); in Testcase() 95 HalIrqSendIpi(CPUID_TO_AFFI_MASK(ArchCurrCpuid()), HWI_NUM_TEST); in Testcase()
|
D | It_smp_los_hwi_010.c | 73 HalIrqSetAffinity(HWI_NUM_TEST, CPUID_TO_AFFI_MASK(ArchCurrCpuid())); // curret cpu in Testcase() 78 …HalIrqSetAffinity(HWI_NUM_TEST1, CPUID_TO_AFFI_MASK((ArchCurrCpuid() + 1) % LOSCFG_KERNEL_CORE_NUM… in Testcase() 85 … HalIrqSendIpi(CPUID_TO_AFFI_MASK((ArchCurrCpuid() + 1) % LOSCFG_KERNEL_CORE_NUM), HWI_NUM_TEST1); in Testcase() 86 HalIrqSendIpi(CPUID_TO_AFFI_MASK(ArchCurrCpuid()), HWI_NUM_TEST); in Testcase()
|
D | It_smp_los_hwi_ipi_003.c | 46 ICUNIT_ASSERT_EQUAL_VOID(ArchCurrCpuid(), g_targetCpuid, ArchCurrCpuid()); in HwiF01() 75 currCpuid = (ArchCurrCpuid() + 1) % (LOSCFG_KERNEL_CORE_NUM); in Testcase()
|
D | It_smp_los_hwi_nest_006.c | 50 HalIrqSendIpi(((ArchCurrCpuid() + 1) % LOSCFG_KERNEL_CORE_NUM) + 1, HWI_NUM_INT12); in HwiF01() 83 CPUID_TO_AFFI_MASK((ArchCurrCpuid() + i + 1) % in Testcase() 89 g_targetCpuid = ArchCurrCpuid(); // current cpu in Testcase()
|
D | It_smp_los_hwi_nest_008.c | 78 HalIrqSetAffinity(HWI_NUM_TEST1, CPUID_TO_AFFI_MASK(ArchCurrCpuid())); // curret cpu in Testcase() 82 CPUID_TO_AFFI_MASK((ArchCurrCpuid() + i + 1) % in Testcase() 88 g_targetCpuid = ArchCurrCpuid(); in Testcase()
|
D | It_smp_los_hwi_nest_007.c | 79 HalIrqSetAffinity(HWI_NUM_TEST1, CPUID_TO_AFFI_MASK(ArchCurrCpuid())); // curret cpu in Testcase() 83 CPUID_TO_AFFI_MASK((ArchCurrCpuid() + i + 1) % in Testcase() 89 g_targetCpuid = ArchCurrCpuid(); in Testcase()
|
D | It_smp_los_hwi_nest_001.c | 79 HalIrqSetAffinity(HWI_NUM_TEST, CPUID_TO_AFFI_MASK(ArchCurrCpuid())); // curret cpu in Testcase() 83 CPUID_TO_AFFI_MASK((ArchCurrCpuid() + i + 1) % in Testcase() 89 g_targetCpuid = ArchCurrCpuid(); in Testcase()
|
/kernel/liteos_a/arch/arm/arm/src/ |
D | los_exc.c | 120 } else if (cpuid == ArchCurrCpuid()) { in OsGetSystemStatus() 202 OsCurrTaskGet()->taskName, __FUNCTION__, ArchCurrCpuid()); in OsArmSharedPageFault() 354 if (g_excFromUserMode[ArchCurrCpuid()] == TRUE) { in OsExcSysInfo() 516 if (g_excFromUserMode[ArchCurrCpuid()] == TRUE) { in OsDumpContextMem() 544 UINT32 currCpuid = ArchCurrCpuid(); in OsExcRestore() 558 UINT32 currCpu = ArchCurrCpuid(); in OsUserExcHandle() 562 if (g_excFromUserMode[ArchCurrCpuid()] == FALSE) { in OsUserExcHandle() 629 if (g_excFromUserMode[ArchCurrCpuid()] == TRUE) { in IsValidFP() 659 if (g_excFromUserMode[ArchCurrCpuid()] == TRUE) { in FindSuitableStack() 856 if (g_excFromUserMode[ArchCurrCpuid()] != TRUE) { in OsExcHook() [all …]
|
/kernel/liteos_a/kernel/common/ |
D | los_init.c | 68 if (ArchCurrCpuid() == 0) { in InitLevelCall() 95 …"Starting %s module consumes %llu ns. Run on cpu %u\n", module->name, singleTime, ArchCurrCpuid()); in InitLevelCall() 115 …initialization at level %u consumes %lluns on cpu %u.\n", name, level, totalTime, ArchCurrCpuid()); in InitLevelCall()
|
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/full/ |
D | It_los_task_066.c | 67 task1.usCpuAffiMask = CPUID_TO_AFFI_MASK(ArchCurrCpuid()); in TaskF01() 80 task1.usCpuAffiMask = CPUID_TO_AFFI_MASK(ArchCurrCpuid()); in TaskF01() 102 task1.usCpuAffiMask = CPUID_TO_AFFI_MASK(ArchCurrCpuid()); in Testcase()
|
D | It_los_task_054.c | 71 task1.usCpuAffiMask = CPUID_TO_AFFI_MASK(ArchCurrCpuid()); in TaskF01() 82 HalIrqSetAffinity(HWI_NUM_TEST, CPUID_TO_AFFI_MASK(ArchCurrCpuid())); in TaskF01() 104 task1.usCpuAffiMask = CPUID_TO_AFFI_MASK(ArchCurrCpuid()); in Testcase()
|
D | It_los_task_126.c | 80 task1.usCpuAffiMask = CPUID_TO_AFFI_MASK(ArchCurrCpuid()); in TaskF01() 89 HalIrqSetAffinity(HWI_NUM_TEST, CPUID_TO_AFFI_MASK(ArchCurrCpuid())); in TaskF01() 124 task1.usCpuAffiMask = CPUID_TO_AFFI_MASK(ArchCurrCpuid()); in Testcase()
|
/kernel/liteos_a/testsuites/kernel/sample/kernel_extend/cpup/smp/ |
D | It_smp_extend_cpup_005.c | 73 taskInitParam.usCpuAffiMask = CPUID_TO_AFFI_MASK(ArchCurrCpuid()); in Task01() 85 taskInitParam.usCpuAffiMask = CPUID_TO_AFFI_MASK(ArchCurrCpuid()); in Task01() 150 UINT32 currCpuid = (ArchCurrCpuid() + 1) % LOSCFG_KERNEL_CORE_NUM; in Testcase() 163 taskInitParam.usCpuAffiMask = CPUID_TO_AFFI_MASK(ArchCurrCpuid()); in Testcase()
|