ReactOS 0.4.16-dev-329-g9223134
|
Go to the source code of this file.
Classes | |
struct | _HAL_BIOS_FRAME |
struct | _IDTUsageFlags |
struct | IDTUsage |
struct | _HalAddressUsage |
struct | _HALP_ROLLOVER |
Macros | |
#define | HAL_BUILD_TYPE ((DBG ? PRCB_BUILD_DEBUG : 0) | PRCB_BUILD_UNIPROCESSOR) |
#define | SYNCH_LEVEL HalpIrqlSynchLevel |
#define | HAL_APC_REQUEST 0 |
#define | HAL_DPC_REQUEST 1 |
#define | HAL_PROFILING_INTERVAL 0 |
#define | HAL_PROFILING_MULTIPLIER 1 |
#define | IDT_REGISTERED 0x01 |
#define | IDT_LATCHED 0x02 |
#define | IDT_READ_ONLY 0x04 |
#define | IDT_INTERNAL 0x11 |
#define | IDT_DEVICE 0x21 |
#define | HALP_LOW_STUB_SIZE_IN_PAGES 3 |
#define | BCD_INT(bcd) (((bcd & 0xF0) >> 4) * 10 + (bcd & 0x0F)) |
#define | INT_BCD(int) (UCHAR)(((int / 10) << 4) + (int % 10)) |
#define | HALP_REVISION_FROM_HACK_FLAGS(x) ((x) >> 24) |
#define | HALP_REVISION_HACK_FLAGS(x) ((x) >> 12) |
#define | HALP_HACK_FLAGS(x) ((x) & 0xFFF) |
#define | HALP_CARD_FEATURE_FULL_DECODE 0x0001 |
#define | HALP_CHECK_CARD_REVISION_ID 0x10000 |
#define | HALP_CHECK_CARD_SUBVENDOR_ID 0x20000 |
#define | HALP_CHECK_CARD_SUBSYSTEM_ID 0x40000 |
#define | HalAddressToPde(x) (PHARDWARE_PTE)MiAddressToPde(x) |
#define | HalAddressToPte(x) (PHARDWARE_PTE)MiAddressToPte(x) |
Typedefs | |
typedef struct _HAL_BIOS_FRAME | HAL_BIOS_FRAME |
typedef struct _HAL_BIOS_FRAME * | PHAL_BIOS_FRAME |
typedef VOID(__cdecl * | PHAL_SW_INTERRUPT_HANDLER) (VOID) |
typedef VOID(FASTCALL * | PHAL_SW_INTERRUPT_HANDLER_2ND_ENTRY) (IN PKTRAP_FRAME TrapFrame) |
typedef BOOLEAN(NTAPI * | PHAL_DISMISS_INTERRUPT) (IN KIRQL Irql, IN ULONG Irq, OUT PKIRQL OldIrql) |
typedef struct _IDTUsageFlags | IDTUsageFlags |
typedef struct _HalAddressUsage | ADDRESS_USAGE |
typedef struct _HalAddressUsage * | PADDRESS_USAGE |
typedef struct _HALP_ROLLOVER | HALP_ROLLOVER |
typedef struct _HALP_ROLLOVER * | PHALP_ROLLOVER |
#define BCD_INT | ( | bcd | ) | (((bcd & 0xF0) >> 4) * 10 + (bcd & 0x0F)) |
#define HAL_BUILD_TYPE ((DBG ? PRCB_BUILD_DEBUG : 0) | PRCB_BUILD_UNIPROCESSOR) |
#define HalAddressToPde | ( | x | ) | (PHARDWARE_PTE)MiAddressToPde(x) |
#define HalAddressToPte | ( | x | ) | (PHARDWARE_PTE)MiAddressToPte(x) |
#define SYNCH_LEVEL HalpIrqlSynchLevel |
typedef struct _HalAddressUsage ADDRESS_USAGE |
typedef struct _HAL_BIOS_FRAME HAL_BIOS_FRAME |
typedef struct _HALP_ROLLOVER HALP_ROLLOVER |
typedef struct _IDTUsageFlags IDTUsageFlags |
typedef struct _HalAddressUsage * PADDRESS_USAGE |
typedef struct _HAL_BIOS_FRAME * PHAL_BIOS_FRAME |
typedef VOID(FASTCALL * PHAL_SW_INTERRUPT_HANDLER_2ND_ENTRY) (IN PKTRAP_FRAME TrapFrame) |
typedef struct _HALP_ROLLOVER * PHALP_ROLLOVER |
_Acquires_lock_ | ( | HalpSystemHardwareLock | ) |
_Releases_lock_ | ( | HalpSystemHardwareLock | ) |
_Requires_lock_held_ | ( | HalpSystemHardwareLock | ) |
CODE_SEG | ( | "INIT" | ) |
Definition at line 1810 of file Interface.c.
Definition at line 21 of file processor.c.
Referenced by HalInitSystem().
NTSTATUS NTAPI HaliHandlePCIConfigSpaceAccess | ( | _In_ BOOLEAN | IsRead, |
_In_ ULONG | Port, | ||
_In_ ULONG | Length, | ||
_Inout_ PULONG | Buffer | ||
) |
Definition at line 906 of file halpnpdd.c.
Referenced by HalInitSystem().
Definition at line 48 of file x86bios.c.
Referenced by HalInitSystem().
NTSTATUS NTAPI HaliQuerySystemInformation | ( | IN HAL_QUERY_INFORMATION_CLASS | InformationClass, |
IN ULONG | BufferSize, | ||
IN OUT PVOID | Buffer, | ||
OUT PULONG | ReturnedLength | ||
) |
NTSTATUS NTAPI HaliSetSystemInformation | ( | IN HAL_SET_INFORMATION_CLASS | InformationClass, |
IN ULONG | BufferSize, | ||
IN OUT PVOID | Buffer | ||
) |
Definition at line 31 of file sysinfo.c.
Referenced by HalInitSystem().
PADAPTER_OBJECT NTAPI HalpAllocateAdapterEx | ( | ULONG | NumberOfMapRegisters, |
BOOLEAN | IsMaster, | ||
BOOLEAN | Dma32BitAddresses | ||
) |
ULONG64 NTAPI HalpAllocPhysicalMemory | ( | IN PLOADER_PARAMETER_BLOCK | LoaderBlock, |
IN ULONG64 | MaxAddress, | ||
IN PFN_NUMBER | PageCount, | ||
IN BOOLEAN | Aligned | ||
) |
Definition at line 29 of file memory.c.
Referenced by HalInitializeBios(), HalpAcpiCopyBiosTable(), HalpAcpiFindRsdtPhase0(), HalpSetupAcpiPhase0(), and HalpSetupPciDeviceForDebugging().
Referenced by HalpInitializePICs().
DECLSPEC_NORETURN VOID FASTCALL HalpApcInterrupt2ndEntry | ( | IN PKTRAP_FRAME | TrapFrame | ) |
Definition at line 1134 of file pic.c.
Definition at line 642 of file bios.c.
Referenced by HalInitSystem().
Definition at line 944 of file halacpi.c.
Referenced by HalpReportResourceUsage().
Definition at line 105 of file pchw.c.
Referenced by HalInitSystem(), and MachInit().
Definition at line 146 of file misc.c.
Referenced by HalpRegisterKdSupportFunctions().
Definition at line 30 of file timer.c.
Referenced by HalInitSystem(), HalpInitializePICs(), HalpInitPhase0(), and HalpInitPhase1().
Referenced by HalpInitializePICs().
VOID NTAPI HalpDebugPciDumpBus | ( | IN PBUS_HANDLER | BusHandler, |
IN PCI_SLOT_NUMBER | PciSlot, | ||
IN ULONG | i, | ||
IN ULONG | j, | ||
IN ULONG | k, | ||
IN PPCI_COMMON_CONFIG | PciData | ||
) |
Definition at line 794 of file bussupp.c.
Referenced by HalpInitializePciBus().
Definition at line 708 of file pic.c.
Definition at line 890 of file pic.c.
Definition at line 644 of file pic.c.
Definition at line 826 of file pic.c.
Referenced by HalpInitializePICs().
PHAL_SW_INTERRUPT_HANDLER __cdecl HalpDispatchInterrupt2 | ( | VOID | ) |
Definition at line 1199 of file pic.c.
DECLSPEC_NORETURN VOID FASTCALL HalpDispatchInterrupt2ndEntry | ( | IN PKTRAP_FRAME | TrapFrame | ) |
Definition at line 1183 of file pic.c.
VOID NTAPI HalpEnableInterruptHandler | ( | IN UCHAR | Flags, |
IN ULONG | BusVector, | ||
IN ULONG | SystemVector, | ||
IN KIRQL | Irql, | ||
IN PVOID | Handler, | ||
IN KINTERRUPT_MODE | Mode | ||
) |
Definition at line 49 of file usage.c.
Referenced by HalInitSystem(), HalpInitPhase0(), and HalpInitPhase1().
VOID FASTCALL HalpExitToV86 | ( | PKTRAP_FRAME | TrapFrame | ) |
Referenced by HalpBiosCall().
Definition at line 156 of file misc.c.
Referenced by HalpMapPhysicalMemory64Vista(), HalpMapRealModeMemory(), HalpUnmapRealModeMemory(), and HalpUnmapVirtualAddressVista().
Definition at line 595 of file usage.c.
Referenced by HalpInitializePciBus().
Referenced by HalEnableSystemInterrupt(), and HalpInitializePICs().
Definition at line 935 of file halacpi.c.
Referenced by HalInitSystem().
Definition at line 160 of file cmos.c.
Referenced by HalInitSystem().
Definition at line 18 of file pic.c.
Referenced by HalpInitializePICs().
Definition at line 513 of file apic.c.
Referenced by HalInitSystem().
VOID HalpInitPhase0 | ( | PLOADER_PARAMETER_BLOCK | LoaderBlock | ) |
Definition at line 30 of file halinit_mp.c.
Definition at line 26 of file halinit_up.c.
Definition at line 24 of file halinit.c.
Referenced by HalInitializeProcessor().
Definition at line 961 of file halacpi.c.
Referenced by HalpBuildPartialFromAddress().
Definition at line 140 of file memory.c.
Referenced by HalpAcpiCopyBiosTable(), HalpAcpiFindRsdtPhase0(), HalpAcpiGetTableFromBios(), HalpAcpiTableCacheInit(), HalpConfigureDebuggingDevice(), HalpInitializeCmos(), HalpReboot(), HalpRegisterKdSupportFunctions(), HalpSetupAcpiPhase0(), and HalpSetupPciDeviceForDebugging().
PVOID NTAPI HalpMapPhysicalMemory64Vista | ( | IN PHYSICAL_ADDRESS | PhysicalAddress, |
IN PFN_COUNT | PageCount, | ||
IN BOOLEAN | FlushCurrentTLB | ||
) |
Definition at line 156 of file memory.c.
Referenced by HalpMapPhysicalMemory64(), and HalpRegisterKdSupportFunctions().
Definition at line 57 of file misc.c.
Referenced by HalpReportResourceUsage().
NTSTATUS NTAPI HalpOpenRegistryKey | ( | IN PHANDLE | KeyHandle, |
IN HANDLE | RootKey, | ||
IN PUNICODE_STRING | KeyName, | ||
IN ACCESS_MASK | DesiredAccess, | ||
IN BOOLEAN | Create | ||
) |
Definition at line 104 of file misc.c.
Referenced by HalpMarkAcpiHal(), HalpMarkChipsetDecode(), HalpRegisterPciDebuggingDeviceInfo(), and HalpReportSerialNumber().
NTSTATUS NTAPI HalpQueryAcpiResourceRequirements | ( | OUT PIO_RESOURCE_REQUIREMENTS_LIST * | Requirements | ) |
Definition at line 1016 of file halacpi.c.
Referenced by HalpQueryResourceRequirements(), and HalpQueryResources().
Referenced by HalpBiosCall(), and HalpMapRealModeMemory().
Definition at line 22 of file busemul.c.
Referenced by HalInitializeProcessor().
VOID NTAPI HalpRegisterVector | ( | IN UCHAR | Flags, |
IN ULONG | BusVector, | ||
IN ULONG | SystemVector, | ||
IN KIRQL | Irql | ||
) |
Definition at line 34 of file usage.c.
Referenced by HalpEnableInterruptHandler(), HalpInitializePICs(), and HalpReportResourceUsage().
NTSTATUS NTAPI HalpReleasePciDeviceForDebugging | ( | IN OUT PDEBUG_DEVICE_DESCRIPTOR | PciDevice | ) |
VOID NTAPI HalpReportResourceUsage | ( | IN PUNICODE_STRING | HalName, |
IN INTERFACE_TYPE | InterfaceType | ||
) |
Definition at line 26 of file misc.c.
Referenced by HalpReportResourceUsage().
NTSTATUS NTAPI HalpSetupPciDeviceForDebugging | ( | IN PVOID | LoaderBlock, |
IN OUT PDEBUG_DEVICE_DESCRIPTOR | PciDevice | ||
) |
Definition at line 148 of file memory.c.
Referenced by HalpAcpiGetTable(), HalpAcpiGetTableFromBios(), HalpAcpiTableCacheInit(), HalpRegisterKdSupportFunctions(), and HalpReleasePciDeviceForDebugging().
VOID NTAPI HalpUnmapVirtualAddressVista | ( | IN PVOID | VirtualAddress, |
IN PFN_COUNT | NumberPages, | ||
IN BOOLEAN | FlushCurrentTLB | ||
) |
Definition at line 227 of file memory.c.
Referenced by HalpRegisterKdSupportFunctions(), and HalpUnmapVirtualAddress().
Referenced by HalpClockIpiHandler().
VOID FASTCALL KeUpdateSystemTime | ( | IN PKTRAP_FRAME | TrapFrame, |
IN ULONG | Increment, | ||
IN KIRQL | OldIrql | ||
) |
Definition at line 64 of file time.c.
|
extern |
Definition at line 43 of file halacpi.c.
Referenced by HalpMarkAcpiHal().
|
extern |
Definition at line 44 of file halacpi.c.
Referenced by HalpQueryIdFdo().
|
extern |
Definition at line 45 of file halacpi.c.
Referenced by HalpReportResourceUsage(), HalReportResourceUsage(), IoReportHalResourceUsage(), MiBuildImportsForBootDrivers(), and MmGetSystemRoutineAddress().
|
extern |
Definition at line 17 of file processor.c.
Referenced by HalInitializeProcessor(), HalpBuildPartialFromIdt(), and HalRequestIpiSpecifyVector().
|
extern |
Definition at line 20 of file usage.c.
Referenced by HalInitSystem(), and HalpReportResourceUsage().
Definition at line 14 of file buildtype.c.
Referenced by HalInitSystem(), and HalpInitPhase0().
|
extern |
Definition at line 18 of file processor.c.
Referenced by HalInitializeProcessor(), and HalpGetRootInterruptVector().
|
extern |
Definition at line 42 of file usage.c.
Referenced by HalInitSystem().
|
extern |
Definition at line 19 of file usage.c.
Referenced by HalpBuildPartialFromIdt(), HalpGetSystemInterruptVector(), HalpRegisterVector(), and HalpReportResourceUsage().
|
extern |
Definition at line 19 of file buildtype.c.
|
extern |
Definition at line 18 of file nmi.c.
Referenced by HalHandleNMI(), and HalpRestoreTrapHandlers().
|
extern |
Definition at line 23 of file timer.c.
Referenced by KeQueryPerformanceCounter().
|
extern |
Definition at line 18 of file profil.c.
Referenced by HalSetProfileInterval(), HalStartProfileInterrupt(), and HalStopProfileInterrupt().
|
extern |
Definition at line 25 of file spinlock.c.
Referenced by HalInitSystem(), HalpAcquireCmosSpinLock(), and HalpReleaseCmosSpinLock().