Root/
Source at commit 1276 created 12 years 11 months ago. By azimutz, Ids maintenance. | |
---|---|
1 | /*␊ |
2 | * Copyright (c) 2007 Apple Inc. All rights reserved.␊ |
3 | */␊ |
4 | ␊ |
5 | #ifndef␉_MACH_ARM_EXCEPTION_H_␊ |
6 | #define _MACH_ARM_EXCEPTION_H_␊ |
7 | ␊ |
8 | #define EXC_TYPES_COUNT 11 /* incl. illegal exception 0 */␊ |
9 | ␊ |
10 | #define EXC_MASK_MACHINE 0␊ |
11 | ␊ |
12 | #define EXCEPTION_CODE_MAX 2 /* code and subcode */␊ |
13 | ␊ |
14 | /*␊ |
15 | *␉Trap numbers as defined by the hardware exception vectors.␊ |
16 | */␊ |
17 | ␊ |
18 | /*␊ |
19 | * EXC_BAD_INSTRUCTION␊ |
20 | */␊ |
21 | ␊ |
22 | #define EXC_ARM_UNDEFINED␉1␉/* Undefined */␊ |
23 | ␊ |
24 | ␊ |
25 | /*␊ |
26 | * EXC_BAD_ACCESS␊ |
27 | * Note: do not conflict with kern_return_t values returned by vm_fault␊ |
28 | */␊ |
29 | ␊ |
30 | #define EXC_ARM_DA_ALIGN␉0x101␉/* Alignment Fault */␊ |
31 | #define EXC_ARM_DA_DEBUG␉0x102␉/* Debug (watch/break) Fault */␊ |
32 | ␊ |
33 | /*␊ |
34 | *␉EXC_BREAKPOINT␊ |
35 | */␊ |
36 | ␊ |
37 | #define EXC_ARM_BREAKPOINT␉1␉/* breakpoint trap */␊ |
38 | ␊ |
39 | ␊ |
40 | #endif␉/* _MACH_ARM_EXCEPTION_H_ */␊ |
41 |