ecf2d82159
* Synchronize the code of the rt mart branch to the master branch. * TTY device * Add lwP code from rt-smart * Add vnode in DFS, but DFS will be re-write for rt-smart * There are three libcpu for rt-smart: * arm/cortex-a, arm/aarch64 * riscv64 Co-authored-by: Rbb666 <zhangbingru@rt-thread.com> Co-authored-by: zhkag <zhkag@foxmail.com>
11 lines
283 B
C
11 lines
283 B
C
#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 */
|