1 /* 2 * @ : Copyright (c) 2021 Phytium Information Technology, Inc. 3 * 4 * SPDX-License-Identifier: Apache-2.0. 5 * 6 * @Date: 2021-04-20 11:33:54 7 * @LastEditTime: 2021-04-20 11:33:55 8 * @Description: Description of file 9 * @Modify History: 10 * * * Ver Who Date Changes 11 * * ----- ------ -------- -------------------------------------- 12 */ 13 14 #ifndef FT_CPU_H 15 #define FT_CPU_H 16 17 #include "ft_types.h" 18 #include "ft_error_code.h" 19 extern const u32 SoftAffiTable[4]; 20 s32 FCpu_IdGet(void); 21 void FCpu_SpinLockInit(void); 22 void FCpu_SpinLock(void); 23 void FCpu_SpinUnlock(void); 24 s32 FCpu_AffinityGet(void); 25 26 #endif // !FT_SPIN_H 27