summaryrefslogtreecommitdiff
path: root/xen/arch/arm/include/asm/arm32/bug.h
blob: 25cce151dca91d4fdfbf8b4ddd2d4d725a3b12c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __ARM_ARM32_BUG_H__
#define __ARM_ARM32_BUG_H__

#include <xen/stringify.h>

/* ARMv7 provides a list of undefined opcode (see A8.8.247 DDI 0406C.b)
 * Use one them encoding A1 to go in exception mode
 */
#define BUG_OPCODE  0xe7f000f0

#define BUG_INSTR ".word " __stringify(BUG_OPCODE)

#define BUG_FN_REG r0

#endif /* __ARM_ARM32_BUG_H__ */