arm7: Add ARCH_HAS_ATOMIC_SET_RETURN
This commit is contained in:
parent
96ca6a6bef
commit
f15fc173b9
@ -6,8 +6,8 @@
|
||||
* directory for more details.
|
||||
*/
|
||||
|
||||
#ifndef _ARM_CPU_H
|
||||
#define _ARM_CPU_H
|
||||
#ifndef ARM_CPU_H_
|
||||
#define ARM_CPU_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include "VIC.h"
|
||||
@ -17,6 +17,11 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief ARM has architecture specific atomic_set_return in atomic.s
|
||||
*/
|
||||
#define ARCH_HAS_ATOMIC_SET_RETURN 1
|
||||
|
||||
#define NEW_TASK_CPSR 0x1F
|
||||
#define WORDSIZE 32
|
||||
|
||||
@ -44,4 +49,4 @@ int uart0_puts(char *astring, int length);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // _ARM_CPU_H
|
||||
#endif /* ARM_CPU_H_ */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user