Files
rt-thread/bsp/raspberry-pi/raspi2/cpu/cpuport.h
qilian 98589e6229 [BSP][raspberry-pi/raspi2]Add cpuport.h (#10158)
Create cpuport.h

Add support for spinlock
2025-04-01 07:37:09 +08:00

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__*/