xref: /reactos/ntoskrnl/ke/i386/abios.c (revision c2c66aff)
1 /*
2  * PROJECT:         ReactOS Kernel
3  * LICENSE:         GPL - See COPYING in the top level directory
4  * FILE:            ntoskrnl/ke/i386/abios.c
5  * PURPOSE:         Routines for ABIOS Support
6  * PROGRAMMERS:     Alex Ionescu (alex.ionescu@reactos.org)
7  */
8 
9 /* INCLUDES *****************************************************************/
10 
11 #include <ntoskrnl.h>
12 #define NDEBUG
13 #include <debug.h>
14 
15 /* FUNCTIONS *****************************************************************/
16 
17 /*
18  * @unimplemented
19  */
20 NTSTATUS
21 NTAPI
KeI386FlatToGdtSelector(IN ULONG Base,IN USHORT Length,IN USHORT Selector)22 KeI386FlatToGdtSelector(IN ULONG Base,
23                         IN USHORT Length,
24                         IN USHORT Selector)
25 {
26     UNIMPLEMENTED;
27     return STATUS_NOT_IMPLEMENTED;
28 }
29 
30 /*
31  * @unimplemented
32  */
33 NTSTATUS
34 NTAPI
KeI386ReleaseGdtSelectors(OUT PULONG SelArray,IN ULONG NumOfSelectors)35 KeI386ReleaseGdtSelectors(OUT PULONG SelArray,
36                           IN ULONG NumOfSelectors)
37 {
38     UNIMPLEMENTED;
39     return STATUS_NOT_IMPLEMENTED;
40 }
41 
42 /*
43  * @unimplemented
44  */
45 NTSTATUS
46 NTAPI
KeI386AllocateGdtSelectors(OUT PULONG SelArray,IN ULONG NumOfSelectors)47 KeI386AllocateGdtSelectors(OUT PULONG SelArray,
48                            IN ULONG NumOfSelectors)
49 {
50     UNIMPLEMENTED;
51     return STATUS_NOT_IMPLEMENTED;
52 }
53 
54 NTSTATUS
55 NTAPI
KeI386SetGdtSelector(IN ULONG Selector,IN PKGDTENTRY GdtValue)56 KeI386SetGdtSelector(IN ULONG Selector,
57                      IN PKGDTENTRY GdtValue)
58 {
59     UNIMPLEMENTED;
60     return STATUS_NOT_IMPLEMENTED;
61 }
62 
63 NTSTATUS
64 NTAPI
KeI386AbiosCall(IN USHORT CallId,IN PDRIVER_OBJECT DriverObject,IN PULONG RequestBlock,IN USHORT EntryPoint)65 KeI386AbiosCall(IN USHORT CallId,
66                 IN PDRIVER_OBJECT DriverObject,
67                 IN PULONG RequestBlock,
68                 IN USHORT EntryPoint)
69 {
70     UNIMPLEMENTED;
71     return STATUS_NOT_IMPLEMENTED;
72 }
73 
74 NTSTATUS
75 NTAPI
KeI386GetLid(IN USHORT DeviceId,IN USHORT RelativeLid,IN BOOLEAN SharedLid,IN PDRIVER_OBJECT DriverObject,OUT PUSHORT LogicalId)76 KeI386GetLid(IN USHORT DeviceId,
77              IN USHORT RelativeLid,
78              IN BOOLEAN SharedLid,
79              IN PDRIVER_OBJECT DriverObject,
80              OUT PUSHORT LogicalId)
81 {
82     UNIMPLEMENTED;
83     return STATUS_NOT_IMPLEMENTED;
84 }
85 
86 NTSTATUS
87 NTAPI
KeI386ReleaseLid(IN USHORT LogicalId,IN PDRIVER_OBJECT DriverObject)88 KeI386ReleaseLid(IN USHORT LogicalId,
89                  IN PDRIVER_OBJECT DriverObject)
90 {
91     UNIMPLEMENTED;
92     return STATUS_NOT_IMPLEMENTED;
93 }
94 
95 USHORT
96 NTAPI
KeI386Call16BitCStyleFunction(IN ULONG EntryOffset,IN ULONG EntrySelector,IN PULONG Parameters,IN ULONG Size)97 KeI386Call16BitCStyleFunction(IN ULONG EntryOffset,
98                               IN ULONG EntrySelector,
99                               IN PULONG Parameters,
100                               IN ULONG Size)
101 {
102     UNIMPLEMENTED;
103     return 0;
104 }
105 
106 VOID
107 NTAPI
KeI386Call16BitFunction(IN OUT PCONTEXT Context)108 KeI386Call16BitFunction(IN OUT PCONTEXT Context)
109 {
110     UNIMPLEMENTED;
111 }
112 
113 /* EOF */
114