Imported Upstream version 1.15.1
[deb_xorg-server.git] / hw / xfree86 / int10 / stub.c
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 #include "xf86.h"
11 #include "xf86str.h"
12 #include "xf86_OSproc.h"
13 #define _INT10_PRIVATE
14 #include "xf86int10.h"
15
16 xf86Int10InfoPtr
17 xf86InitInt10(int entityIndex)
18 {
19 return xf86ExtendedInitInt10(entityIndex, 0);
20 }
21
22 xf86Int10InfoPtr
23 xf86ExtendedInitInt10(int entityIndex, int Flags)
24 {
25 return NULL;
26 }
27
28 Bool
29 MapCurrentInt10(xf86Int10InfoPtr pInt)
30 {
31 return FALSE;
32 }
33
34 void
35 xf86FreeInt10(xf86Int10InfoPtr pInt)
36 {
37 return;
38 }
39
40 void *
41 xf86Int10AllocPages(xf86Int10InfoPtr pInt, int num, int *off)
42 {
43 *off = 0;
44 return NULL;
45 }
46
47 void
48 xf86Int10FreePages(xf86Int10InfoPtr pInt, void *pbase, int num)
49 {
50 return;
51 }
52
53 Bool
54 xf86Int10ExecSetup(xf86Int10InfoPtr pInt)
55 {
56 return FALSE;
57 }
58
59 void
60 xf86ExecX86int10(xf86Int10InfoPtr pInt)
61 {
62 return;
63 }
64
65 pointer
66 xf86int10Addr(xf86Int10InfoPtr pInt, CARD32 addr)
67 {
68 return 0;
69 }