4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-22 20:57:25 +08:00
2023-02-02 12:19:33 +08:00

23 lines
440 B
C

/*
* Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2023-01-22 rose_man add RT_USING_SMP
*/
#ifndef CPUPORT_H__
#define CPUPORT_H__
typedef union {
unsigned long slock;
struct __arch_tickets {
unsigned short owner;
unsigned short next;
} tickets;
} rt_hw_spinlock_t;
#endif /*CPUPORT_H__*/