Imported Upstream version 1.15.1
[deb_xorg-server.git] / hw / xfree86 / int10 / xf86x86emu.h
CommitLineData
a09e091a
JB
1/*
2 * XFree86 int10 module
3 * execute BIOS int 10h calls in x86 real mode environment
4 * Copyright 1999 Egbert Eich
5 */
6#ifdef HAVE_XORG_CONFIG_H
7#include <xorg-config.h>
8#endif
9
10#ifndef XF86X86EMU_H_
11#define XF86X86EMU_H_
12#include <x86emu.h>
13
14#define M _X86EMU_env
15
16#define X86_EAX M.x86.R_EAX
17#define X86_EBX M.x86.R_EBX
18#define X86_ECX M.x86.R_ECX
19#define X86_EDX M.x86.R_EDX
20#define X86_ESI M.x86.R_ESI
21#define X86_EDI M.x86.R_EDI
22#define X86_EBP M.x86.R_EBP
23#define X86_EIP M.x86.R_EIP
24#define X86_ESP M.x86.R_ESP
25#define X86_EFLAGS M.x86.R_EFLG
26
27#define X86_FLAGS M.x86.R_FLG
28#define X86_AX M.x86.R_AX
29#define X86_BX M.x86.R_BX
30#define X86_CX M.x86.R_CX
31#define X86_DX M.x86.R_DX
32#define X86_SI M.x86.R_SI
33#define X86_DI M.x86.R_DI
34#define X86_BP M.x86.R_BP
35#define X86_IP M.x86.R_IP
36#define X86_SP M.x86.R_SP
37#define X86_CS M.x86.R_CS
38#define X86_DS M.x86.R_DS
39#define X86_ES M.x86.R_ES
40#define X86_SS M.x86.R_SS
41#define X86_FS M.x86.R_FS
42#define X86_GS M.x86.R_GS
43
44#define X86_AL M.x86.R_AL
45#define X86_BL M.x86.R_BL
46#define X86_CL M.x86.R_CL
47#define X86_DL M.x86.R_DL
48
49#define X86_AH M.x86.R_AH
50#define X86_BH M.x86.R_BH
51#define X86_CH M.x86.R_CH
52#define X86_DH M.x86.R_DH
53
54#endif