mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-19 20:43:43 +08:00
13 lines
231 B
C
13 lines
231 B
C
#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__*/
|