diff options
author | Reiko Asakura | 2021-03-05 16:16:45 -0500 |
---|---|---|
committer | Reiko Asakura | 2021-03-05 16:16:45 -0500 |
commit | be968cea25fac6626fd16811f649ea0f2d2dcef9 (patch) | |
tree | 28aaac76035fd12347c99e7e8c9d0c6a4b0a2407 /include/common/kernel/cpu.h | |
parent | Add comments in common/kernel/cpu.h (diff) | |
download | vds-libraries-be968cea25fac6626fd16811f649ea0f2d2dcef9.tar.gz |
Rename sceKernelCpuGetCpuId -> sceKernelCpuId
This name is from SDK 0.945.040, and also confirmed by SHA1 digest in
SceKblForKernel.
Diffstat (limited to '')
-rw-r--r-- | include/common/kernel/cpu.h | 17 |
1 files changed, 17 insertions, 0 deletions
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 |