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
xf86InitInt10(int entityIndex)17 xf86InitInt10(int entityIndex)
18 {
19     return xf86ExtendedInitInt10(entityIndex, 0);
20 }
21 
22 xf86Int10InfoPtr
xf86ExtendedInitInt10(int entityIndex,int Flags)23 xf86ExtendedInitInt10(int entityIndex, int Flags)
24 {
25     return NULL;
26 }
27 
28 Bool
MapCurrentInt10(xf86Int10InfoPtr pInt)29 MapCurrentInt10(xf86Int10InfoPtr pInt)
30 {
31     return FALSE;
32 }
33 
34 void
xf86FreeInt10(xf86Int10InfoPtr pInt)35 xf86FreeInt10(xf86Int10InfoPtr pInt)
36 {
37     return;
38 }
39 
40 void *
xf86Int10AllocPages(xf86Int10InfoPtr pInt,int num,int * off)41 xf86Int10AllocPages(xf86Int10InfoPtr pInt, int num, int *off)
42 {
43     *off = 0;
44     return NULL;
45 }
46 
47 void
xf86Int10FreePages(xf86Int10InfoPtr pInt,void * pbase,int num)48 xf86Int10FreePages(xf86Int10InfoPtr pInt, void *pbase, int num)
49 {
50     return;
51 }
52 
53 Bool
xf86Int10ExecSetup(xf86Int10InfoPtr pInt)54 xf86Int10ExecSetup(xf86Int10InfoPtr pInt)
55 {
56     return FALSE;
57 }
58 
59 void
xf86ExecX86int10(xf86Int10InfoPtr pInt)60 xf86ExecX86int10(xf86Int10InfoPtr pInt)
61 {
62     return;
63 }
64 
65 void *
xf86int10Addr(xf86Int10InfoPtr pInt,uint32_t addr)66 xf86int10Addr(xf86Int10InfoPtr pInt, uint32_t addr)
67 {
68     return 0;
69 }
70