• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Generated by ./xlat/gen.sh from ./xlat/atomic_ops.in; do not edit. */
2 
3 #include "gcc_compat.h"
4 #include "static_assert.h"
5 
6 
7 #ifndef XLAT_MACROS_ONLY
8 
9 # ifdef IN_MPERS
10 
11 #  error static const struct xlat atomic_ops in mpers mode
12 
13 # else
14 
15 static
16 const struct xlat atomic_ops[] = {
17 { OR1K_ATOMIC_SWAP,		"SWAP"		},
18 { OR1K_ATOMIC_CMPXCHG,		"CMPXCHG"	},
19 { OR1K_ATOMIC_XCHG,		"XCHG"		},
20 { OR1K_ATOMIC_ADD,		"ADD"		},
21 { OR1K_ATOMIC_DECPOS,		"DECPOS"	},
22 { OR1K_ATOMIC_AND,		"AND"		},
23 { OR1K_ATOMIC_OR,		"OR"		},
24 { OR1K_ATOMIC_UMAX,		"UMAX"		},
25 { OR1K_ATOMIC_UMIN,		"UMIN"		},
26  XLAT_END
27 };
28 
29 # endif /* !IN_MPERS */
30 
31 #endif /* !XLAT_MACROS_ONLY */
32