hwspinlock.h 283 B

12345678910
  1. #ifndef __HWSPINLOCK_H
  2. #define __HWSPINLOCK_H
  3. #include "platform-hwspinlock.h"
  4. #define SPINLOCK_SYSTATUS_REG (SPIN_LOCK_BASE + 0x000)
  5. #define SPINLOCK_STATUS_REG (SPIN_LOCK_BASE + 0x010)
  6. #define SPINLOCK_LOCK_REG(x) (SPIN_LOCK_BASE + 0x100 + x * 4)
  7. #endif /* __HWSPINLOCK_H */