Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mcontext.h File Reference

Go to the source code of this file.

Macros

#define GET_FAULTINFO_FROM_MC(fi, mc)
 

Functions

void get_regs_from_mc (struct uml_pt_regs *, mcontext_t *)
 

Macro Definition Documentation

#define GET_FAULTINFO_FROM_MC (   fi,
  mc 
)
Value:
{ \
(fi).cr2 = (mc)->gregs[REG_CR2]; \
(fi).error_code = (mc)->gregs[REG_ERR]; \
(fi).trap_no = (mc)->gregs[REG_TRAPNO]; \
}

Definition at line 22 of file mcontext.h.

Function Documentation

void get_regs_from_mc ( struct uml_pt_regs ,
mcontext_t  
)

Definition at line 6 of file mcontext.c.