9 extern unsigned short *Stack16Frame;
11 #define _CONTEXT ((struct sigcontext_struct *) &Stack16Frame[12])
12 #define _AX (_CONTEXT->sc_eax)
13 #define _BX (_CONTEXT->sc_ebx)
14 #define _CX (_CONTEXT->sc_ecx)
15 #define _DX (_CONTEXT->sc_edx)
16 #define _SP (_CONTEXT->sc_esp)
17 #define _BP (_CONTEXT->sc_ebp)
18 #define _SI (_CONTEXT->sc_esi)
19 #define _DI (_CONTEXT->sc_edi)
20 #define _DS (_CONTEXT->sc_ds)
21 #define _ES (_CONTEXT->sc_es)
23 extern void ReturnFromRegisterFunc(void);
25 #endif /* REGFUNC_H */