4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-04 21:54:34 +08:00

11 lines
283 B
C
Raw Normal View History

#ifndef __HWSPINLOCK_H
#define __HWSPINLOCK_H
#include "platform-hwspinlock.h"
#define SPINLOCK_SYSTATUS_REG (SPIN_LOCK_BASE + 0x000)
#define SPINLOCK_STATUS_REG (SPIN_LOCK_BASE + 0x010)
#define SPINLOCK_LOCK_REG(x) (SPIN_LOCK_BASE + 0x100 + x * 4)
#endif /* __HWSPINLOCK_H */