#include "ki.h"
#include "abios.h"
Go to the source code of this file.
Functions | |
VOID | KiInitializeAbiosGdtEntry (OUT PKGDTENTRY GdtEntry, IN ULONG Base, IN ULONG Limit, IN USHORT Type) |
ULONG | KiI386SelectorBase (IN USHORT Selector) |
NTSTATUS | KeI386GetLid (IN USHORT DeviceId, IN USHORT RelativeLid, IN BOOLEAN SharedLid, IN PDRIVER_OBJECT DriverObject, OUT PUSHORT LogicalId) |
NTSTATUS | KeI386ReleaseLid (IN USHORT LogicalId, IN PDRIVER_OBJECT DriverObject) |
NTSTATUS | KeI386AbiosCall (IN USHORT LogicalId, IN PDRIVER_OBJECT DriverObject, IN PUCHAR RequestBlock, IN USHORT EntryPoint) |
NTSTATUS | KeI386AllocateGdtSelectors (OUT PUSHORT SelectorArray, IN USHORT NumberOfSelectors) |
NTSTATUS | KeI386ReleaseGdtSelectors (OUT PUSHORT SelectorArray, IN USHORT NumberOfSelectors) |
NTSTATUS | KeI386FlatToGdtSelector (IN ULONG SelectorBase, IN USHORT Length, IN USHORT Selector) |
VOID | Ki386InitializeGdtFreeList (PKFREE_GDT_ENTRY EndOfGdt) |
VOID | KiInitializeAbios (IN UCHAR Processor) |
Variables | |
PKCOMMON_DATA_AREA | KiCommonDataArea |
BOOLEAN | KiAbiosPresent |
USHORT | KiNumberFreeSelectors = 0 |
PKFREE_GDT_ENTRY | KiFreeGdtListHead = 0L |
PKLID_TABLE_ENTRY | KiLogicalIdTable |
ULONG | KiAbiosGdt [MAXIMUM_PROCESSORS] |
KSPIN_LOCK | KiAbiosGdtLock |
KSPIN_LOCK | KiAbiosLidTableLock |
ULONG | KiStack16GdtEntry |
|
Definition at line 367 of file abiosc.c. References _KFUNCTION_TRANSFER_TABLE::CommonRoutine, KiAbiosPresent, KiCommonDataArea, KiI386CallAbios(), KiI386SelectorBase(), KiLogicalIdTable, LID_NO_SPECIFIC_OWNER, _KCOMMON_DATA_AREA::NumberLids, _KABIOS_POINTER::Offset, _KLID_TABLE_ENTRY::Owner, and _KABIOS_POINTER::Selector.
|
|
Definition at line 449 of file abiosc.c. References _KFREE_GDT_ENTRY::Flink, KiAbiosGdt, KiAbiosGdtLock, KiFreeGdtListHead, KiNumberFreeSelectors, and USHORT.
|
|
Definition at line 558 of file abiosc.c. References HIGHBYTE, KeNumberProcessors, KiAbiosGdt, KiAbiosGdtLock, KiAbiosPresent, LOWBYTE, RESERVED_GDT_ENTRIES, and USHORT.
|
|
Definition at line 170 of file abiosc.c. References _KDB_FTT_SECTION::DeviceBlock, _KDEVICE_BLOCK::DeviceId, ExAllocatePoolWithTag, _KDB_FTT_SECTION::FunctionTransferTable, Increment, KiAbiosLidTableLock, KiAbiosPresent, KiCommonDataArea, KiI386SelectorBase(), KiLogicalIdTable, KLID_TABLE_ENTRY, L, LID_NO_SPECIFIC_OWNER, NonPagedPool, NTSTATUS(), NULL, NUMBER_LID_TABLE_ENTRIES, _KCOMMON_DATA_AREA::NumberLids, _KABIOS_POINTER::Offset, _KLID_TABLE_ENTRY::Owner, Owner, _KLID_TABLE_ENTRY::OwnerCount, PUSHORT, _KABIOS_POINTER::Selector, Status, and USHORT.
|
|
Definition at line 507 of file abiosc.c. References _KFREE_GDT_ENTRY::Flink, KiAbiosGdt, KiAbiosGdtLock, KiFreeGdtListHead, and KiNumberFreeSelectors.
|
|
Definition at line 308 of file abiosc.c. References KiAbiosLidTableLock, KiAbiosPresent, KiLogicalIdTable, L, LID_NO_SPECIFIC_OWNER, NTSTATUS(), _KLID_TABLE_ENTRY::Owner, _KLID_TABLE_ENTRY::OwnerCount, and Status.
|
|
Definition at line 622 of file abiosc.c. References _KFREE_GDT_ENTRY::Flink, KiAbiosGetGdt(), KiFreeGdtListHead, KiNumberFreeSelectors, _KFREE_GDT_ENTRY::Present, and RESERVED_GDT_ENTRIES. Referenced by KiInitializeAbios().
|
|
Definition at line 133 of file abiosc.c. References KiAbiosGetGdt(), and L. Referenced by KeI386AbiosCall(), and KeI386GetLid().
|
|
Definition at line 659 of file abiosc.c. References FALSE, KeInitializeSpinLock(), KeLoaderBlock, KGDT_CDA16, KGDT_CODE16, KGDT_GDT_ALIAS, KGDT_STACK16, Ki386InitializeGdtFreeList(), KiAbiosGdt, KiAbiosGdtLock, KiAbiosGetGdt(), KiAbiosLidTableLock, KiAbiosPresent, KiCommonDataArea, KiEndOfCode16, KiI386CallAbios(), KiInitializeAbiosGdtEntry(), KiStack16GdtEntry, L, NULL, TRUE, and _LOADER_PARAMETER_BLOCK::u.
|
|
Definition at line 83 of file abiosc.c. References USHORT. Referenced by KiInitializeAbios().
|
|
Definition at line 62 of file abiosc.c. Referenced by KeI386AllocateGdtSelectors(), KeI386FlatToGdtSelector(), KeI386ReleaseGdtSelectors(), and KiInitializeAbios(). |
|
Definition at line 68 of file abiosc.c. Referenced by KeI386AllocateGdtSelectors(), KeI386FlatToGdtSelector(), KeI386ReleaseGdtSelectors(), and KiInitializeAbios(). |
|
Definition at line 74 of file abiosc.c. Referenced by KeI386GetLid(), KeI386ReleaseLid(), and KiInitializeAbios(). |
|
Definition at line 31 of file abiosc.c. Referenced by KeI386AbiosCall(), KeI386FlatToGdtSelector(), KeI386GetLid(), KeI386ReleaseLid(), and KiInitializeAbios(). |
|
Definition at line 30 of file abiosc.c. Referenced by KeI386AbiosCall(), KeI386GetLid(), and KiInitializeAbios(). |
|
Definition at line 50 of file abiosc.c. Referenced by KeI386AllocateGdtSelectors(), KeI386ReleaseGdtSelectors(), and Ki386InitializeGdtFreeList(). |
|
Definition at line 56 of file abiosc.c. Referenced by KeI386AbiosCall(), KeI386GetLid(), and KeI386ReleaseLid(). |
|
Definition at line 44 of file abiosc.c. Referenced by KeI386AllocateGdtSelectors(), KeI386ReleaseGdtSelectors(), and Ki386InitializeGdtFreeList(). |
|
Definition at line 80 of file abiosc.c. Referenced by KiInitializeAbios(). |