1 /*
2  * Copyright (c) 2006-2023, RT-Thread Development Team
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  *
6  * Change Logs:
7  * Date           Author       Notes
8  * 2023-01-22     rose_man     add RT_USING_SMP
9  */
10 
11 #ifndef  CPUPORT_H__
12 #define  CPUPORT_H__
13 
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 
22 #endif  /*CPUPORT_H__*/
23