Home
last modified time | relevance | path

Searched refs:ArchCurrCpuid (Results 1 – 25 of 503) sorted by relevance

12345678910>>...21

/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/smp/
DIt_smp_los_task_157.c51 …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()
DIt_smp_los_task_161.c62 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()
DIt_smp_los_task_137.c44 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()
DIt_smp_los_task_053.c59 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()
DIt_smp_los_task_051.c62 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()
DIt_smp_los_task_089.c74 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/
DIt_smp_los_hwi_011.c128 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()
DIt_smp_los_hwi_ipi_004.c46 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()
DIt_smp_los_hwi_ipi_002.c46 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()
DIt_smp_los_hwi_ipi_001.c46 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()
DIt_smp_los_hwi_nest_004.c53 … 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()
DIt_smp_los_hwi_nest_002.c59 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()
DIt_smp_los_hwi_012.c73 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()
DIt_smp_los_hwi_010.c73 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()
DIt_smp_los_hwi_ipi_003.c46 ICUNIT_ASSERT_EQUAL_VOID(ArchCurrCpuid(), g_targetCpuid, ArchCurrCpuid()); in HwiF01()
75 currCpuid = (ArchCurrCpuid() + 1) % (LOSCFG_KERNEL_CORE_NUM); in Testcase()
DIt_smp_los_hwi_nest_006.c50 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()
DIt_smp_los_hwi_nest_008.c78 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()
DIt_smp_los_hwi_nest_007.c79 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()
DIt_smp_los_hwi_nest_001.c79 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/
Dlos_exc.c120 } 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/
Dlos_init.c68 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/
DIt_los_task_066.c67 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()
DIt_los_task_054.c71 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()
DIt_los_task_126.c80 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/
DIt_smp_extend_cpup_005.c73 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()

12345678910>>...21