ReactOS 0.4.15-dev-7942-gd23573b
abios.c File Reference
#include <ntoskrnl.h>
#include <debug.h>
Include dependency graph for abios.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

NTSTATUS NTAPI KeI386FlatToGdtSelector (IN ULONG Base, IN USHORT Length, IN USHORT Selector)
 
NTSTATUS NTAPI KeI386ReleaseGdtSelectors (OUT PULONG SelArray, IN ULONG NumOfSelectors)
 
NTSTATUS NTAPI KeI386AllocateGdtSelectors (OUT PULONG SelArray, IN ULONG NumOfSelectors)
 
NTSTATUS NTAPI KeI386SetGdtSelector (IN ULONG Selector, IN PKGDTENTRY GdtValue)
 
NTSTATUS NTAPI KeI386AbiosCall (IN USHORT CallId, IN PDRIVER_OBJECT DriverObject, IN PULONG RequestBlock, IN USHORT EntryPoint)
 
NTSTATUS NTAPI KeI386GetLid (IN USHORT DeviceId, IN USHORT RelativeLid, IN BOOLEAN SharedLid, IN PDRIVER_OBJECT DriverObject, OUT PUSHORT LogicalId)
 
NTSTATUS NTAPI KeI386ReleaseLid (IN USHORT LogicalId, IN PDRIVER_OBJECT DriverObject)
 
USHORT NTAPI KeI386Call16BitCStyleFunction (IN ULONG EntryOffset, IN ULONG EntrySelector, IN PULONG Parameters, IN ULONG Size)
 
VOID NTAPI KeI386Call16BitFunction (IN OUT PCONTEXT Context)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 12 of file abios.c.

Function Documentation

◆ KeI386AbiosCall()

NTSTATUS NTAPI KeI386AbiosCall ( IN USHORT  CallId,
IN PDRIVER_OBJECT  DriverObject,
IN PULONG  RequestBlock,
IN USHORT  EntryPoint 
)

Definition at line 65 of file abios.c.

69{
72}
#define UNIMPLEMENTED
Definition: debug.h:115
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239

◆ KeI386AllocateGdtSelectors()

NTSTATUS NTAPI KeI386AllocateGdtSelectors ( OUT PULONG  SelArray,
IN ULONG  NumOfSelectors 
)

Definition at line 47 of file abios.c.

49{
52}

◆ KeI386Call16BitCStyleFunction()

USHORT NTAPI KeI386Call16BitCStyleFunction ( IN ULONG  EntryOffset,
IN ULONG  EntrySelector,
IN PULONG  Parameters,
IN ULONG  Size 
)

Definition at line 97 of file abios.c.

101{
103 return 0;
104}

◆ KeI386Call16BitFunction()

VOID NTAPI KeI386Call16BitFunction ( IN OUT PCONTEXT  Context)

Definition at line 108 of file abios.c.

109{
111}

◆ KeI386FlatToGdtSelector()

NTSTATUS NTAPI KeI386FlatToGdtSelector ( IN ULONG  Base,
IN USHORT  Length,
IN USHORT  Selector 
)

Definition at line 22 of file abios.c.

25{
28}

◆ KeI386GetLid()

NTSTATUS NTAPI KeI386GetLid ( IN USHORT  DeviceId,
IN USHORT  RelativeLid,
IN BOOLEAN  SharedLid,
IN PDRIVER_OBJECT  DriverObject,
OUT PUSHORT  LogicalId 
)

Definition at line 76 of file abios.c.

81{
84}

◆ KeI386ReleaseGdtSelectors()

NTSTATUS NTAPI KeI386ReleaseGdtSelectors ( OUT PULONG  SelArray,
IN ULONG  NumOfSelectors 
)

Definition at line 35 of file abios.c.

37{
40}

◆ KeI386ReleaseLid()

NTSTATUS NTAPI KeI386ReleaseLid ( IN USHORT  LogicalId,
IN PDRIVER_OBJECT  DriverObject 
)

Definition at line 88 of file abios.c.

90{
93}

◆ KeI386SetGdtSelector()

NTSTATUS NTAPI KeI386SetGdtSelector ( IN ULONG  Selector,
IN PKGDTENTRY  GdtValue 
)

Definition at line 56 of file abios.c.

58{
61}