From be968cea25fac6626fd16811f649ea0f2d2dcef9 Mon Sep 17 00:00:00 2001 From: Reiko Asakura Date: Fri, 5 Mar 2021 16:16:45 -0500 Subject: Rename sceKernelCpuGetCpuId -> sceKernelCpuId This name is from SDK 0.945.040, and also confirmed by SHA1 digest in SceKblForKernel. --- include/common/kernel/cpu.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'include/common') diff --git a/include/common/kernel/cpu.h b/include/common/kernel/cpu.h index 2757db4..48ca303 100644 --- a/include/common/kernel/cpu.h +++ b/include/common/kernel/cpu.h @@ -18,4 +18,21 @@ #define SCE_KERNEL_CPU_MASK_USER_QUAD \ (SCE_KERNEL_CPU_MASK_USER_0 | SCE_KERNEL_CPU_MASK_USER_1 | SCE_KERNEL_CPU_MASK_USER_2 | SCE_KERNEL_CPU_MASK_USER_3) +SCE_CDECL_BEGIN + +#if !defined(_LANGUAGE_ASSEMBLY) + +/** + * @j + * @brief CPUの物理コア番号を取得するAPIです。デバッグ目的のみに限定してください。 + * + * @retval 0-3 cpu core number + * @ej + */ +SceUInt sceKernelCpuId(void); + +#endif /* !defined(_LANGUAGE_ASSEMBLY) */ + +SCE_CDECL_END + #endif // _VDSUITE_COMMON_KERNEL_CPU_H -- cgit v1.2.3