1 /* 2 * Copyright (c) 2006-2020, RT-Thread Development Team 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Change Logs: 7 * Date Author Notes 8 */ 9 10 #ifndef CPUPORT_H__ 11 #define CPUPORT_H__ 12 13 #ifdef RT_USING_SMP 14 typedef union { 15 unsigned long slock; 16 struct __arch_tickets { 17 unsigned short owner; 18 unsigned short next; 19 } tickets; 20 } rt_hw_spinlock_t; 21 #endif 22 23 #endif /*CPUPORT_H__*/ 24