Release 941030
[wine] / include / regfunc.h
1 /* $Id$
2  */
3
4 #ifndef REGFUNC_H
5 #define REGFUNC_H
6
7 #include "wine.h"
8
9 extern unsigned short *Stack16Frame;
10
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)
22
23 extern void ReturnFromRegisterFunc(void);
24
25 #endif /* REGFUNC_H */