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 typedef union { 14 unsigned long slock; 15 struct __arch_tickets { 16 unsigned short owner; 17 unsigned short next; 18 } tickets; 19 } rt_hw_spinlock_t; 20 21 #endif /*CPUPORT_H__*/ 22