ReactOS 0.4.15-dev-7924-g5949c20
abios.c
Go to the documentation of this file.
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 */
24 IN USHORT Selector)
25{
28}
29
30/*
31 * @unimplemented
32 */
36 IN ULONG NumOfSelectors)
37{
40}
41
42/*
43 * @unimplemented
44 */
48 IN ULONG NumOfSelectors)
49{
52}
53
57 IN PKGDTENTRY GdtValue)
58{
61}
62
67 IN PULONG RequestBlock,
68 IN USHORT EntryPoint)
69{
72}
73
77 IN USHORT RelativeLid,
78 IN BOOLEAN SharedLid,
80 OUT PUSHORT LogicalId)
81{
84}
85
90{
93}
94
98 IN ULONG EntrySelector,
100 IN ULONG Size)
101{
103 return 0;
104}
105
106VOID
107NTAPI
109{
111}
112
113/* EOF */
unsigned char BOOLEAN
NTSTATUS NTAPI KeI386GetLid(IN USHORT DeviceId, IN USHORT RelativeLid, IN BOOLEAN SharedLid, IN PDRIVER_OBJECT DriverObject, OUT PUSHORT LogicalId)
Definition: abios.c:76
NTSTATUS NTAPI KeI386ReleaseLid(IN USHORT LogicalId, IN PDRIVER_OBJECT DriverObject)
Definition: abios.c:88
VOID NTAPI KeI386Call16BitFunction(IN OUT PCONTEXT Context)
Definition: abios.c:108
NTSTATUS NTAPI KeI386ReleaseGdtSelectors(OUT PULONG SelArray, IN ULONG NumOfSelectors)
Definition: abios.c:35
NTSTATUS NTAPI KeI386FlatToGdtSelector(IN ULONG Base, IN USHORT Length, IN USHORT Selector)
Definition: abios.c:22
NTSTATUS NTAPI KeI386AbiosCall(IN USHORT CallId, IN PDRIVER_OBJECT DriverObject, IN PULONG RequestBlock, IN USHORT EntryPoint)
Definition: abios.c:65
NTSTATUS NTAPI KeI386AllocateGdtSelectors(OUT PULONG SelArray, IN ULONG NumOfSelectors)
Definition: abios.c:47
NTSTATUS NTAPI KeI386SetGdtSelector(IN ULONG Selector, IN PKGDTENTRY GdtValue)
Definition: abios.c:56
USHORT NTAPI KeI386Call16BitCStyleFunction(IN ULONG EntryOffset, IN ULONG EntrySelector, IN PULONG Parameters, IN ULONG Size)
Definition: abios.c:97
LONG NTSTATUS
Definition: precomp.h:26
#define UNIMPLEMENTED
Definition: debug.h:115
_In_opt_ ULONG Base
Definition: rtlfuncs.h:2439
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:102
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239
unsigned short USHORT
Definition: pedump.c:61
uint32_t * PULONG
Definition: typedefs.h:59
#define NTAPI
Definition: typedefs.h:36
uint16_t * PUSHORT
Definition: typedefs.h:56
#define IN
Definition: typedefs.h:39
uint32_t ULONG
Definition: typedefs.h:59
#define OUT
Definition: typedefs.h:40
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
Definition: wdfdevice.h:4533
_Must_inspect_result_ _In_ PDRIVER_OBJECT DriverObject
Definition: wdfdriver.h:213
_Must_inspect_result_ _In_ WDFQUEUE _In_opt_ WDFREQUEST _In_opt_ WDFFILEOBJECT _Inout_opt_ PWDF_REQUEST_PARAMETERS Parameters
Definition: wdfio.h:869