Go to the documentation of this file.
6 #ifndef __SYS_SIGCONTEXT_X86_H
7 #define __SYS_SIGCONTEXT_X86_H
13 #define GET_FAULTINFO_FROM_MC(fi, mc) \
15 (fi).cr2 = (mc)->cr2; \
16 (fi).error_code = (mc)->gregs[REG_ERR]; \
17 (fi).trap_no = (mc)->gregs[REG_TRAPNO]; \
22 #define GET_FAULTINFO_FROM_MC(fi, mc) \
24 (fi).cr2 = (mc)->gregs[REG_CR2]; \
25 (fi).error_code = (mc)->gregs[REG_ERR]; \
26 (fi).trap_no = (mc)->gregs[REG_TRAPNO]; \