ReactOS 0.4.15-dev-8344-g0574987
halpcat.c File Reference
#include <hal.h>
#include <debug.h>
Include dependency graph for halpcat.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

NTSTATUS NTAPI HalpSetupAcpiPhase0 (IN PLOADER_PARAMETER_BLOCK LoaderBlock)
 
VOID NTAPI HalpBuildAddressMap (VOID)
 
BOOLEAN NTAPI HalpGetDebugPortTable (VOID)
 
ULONG NTAPI HalpIs16BitPortDecodeSupported (VOID)
 
VOID NTAPI HalReportResourceUsage (VOID)
 

Variables

BOOLEAN HalDisableFirmwareMapper = FALSE
 
PWCHAR HalHardwareIdString = L"e_isa_up"
 
PWCHAR HalName = L"PC Compatible Eisa/Isa HAL"
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 12 of file halpcat.c.

Function Documentation

◆ HalpBuildAddressMap()

VOID NTAPI HalpBuildAddressMap ( VOID  )

Definition at line 44 of file halpcat.c.

45{
46 /* FIXME: Inherit ROM blocks from the registry */
47 //HalpInheritROMBlocks();
48
49 /* FIXME: Add the ROM blocks to our ranges */
50 //HalpAddROMRanges();
51}

◆ HalpGetDebugPortTable()

BOOLEAN NTAPI HalpGetDebugPortTable ( VOID  )

Definition at line 56 of file halpcat.c.

57{
58 /* No ACPI */
59 return FALSE;
60}
#define FALSE
Definition: types.h:117

◆ HalpIs16BitPortDecodeSupported()

ULONG NTAPI HalpIs16BitPortDecodeSupported ( VOID  )

Definition at line 65 of file halpcat.c.

66{
67 /* Only EISA systems support this */
69}
ULONG HalpBusType
Definition: pcibus.c:18
#define MACHINE_TYPE_EISA
Definition: ketypes.h:114
#define CM_RESOURCE_PORT_16_BIT_DECODE
Definition: cmtypes.h:112

◆ HalpSetupAcpiPhase0()

NTSTATUS NTAPI HalpSetupAcpiPhase0 ( IN PLOADER_PARAMETER_BLOCK  LoaderBlock)

Definition at line 35 of file halpcat.c.

36{
37 /* There is no ACPI on these HALs */
38 return STATUS_SUCCESS;
39}
#define STATUS_SUCCESS
Definition: shellext.h:65

◆ HalReportResourceUsage()

VOID NTAPI HalReportResourceUsage ( VOID  )

Definition at line 89 of file halpcat.c.

90{
92 UNICODE_STRING HalString;
93
94 /* FIXME: Initialize MCA bus */
95
96 /* Initialize PCI bus. */
98
99 /* Initialize the stubs */
101
102 /* What kind of bus is this? */
103 switch (HalpBusType)
104 {
105 /* ISA Machine */
106 case MACHINE_TYPE_ISA:
108 break;
109
110 /* EISA Machine */
113 break;
114
115 /* MCA Machine */
116 case MACHINE_TYPE_MCA:
118 break;
119
120 /* Unknown */
121 default:
123 break;
124 }
125
126 /* Build HAL usage */
127 RtlInitUnicodeString(&HalString, HalName);
129
130 /* Setup PCI debugging and Hibernation */
132}
VOID NTAPI HalpInitializePciStubs(VOID)
Definition: pcibus.c:1190
VOID NTAPI HalpReportResourceUsage(IN PUNICODE_STRING HalName, IN INTERFACE_TYPE InterfaceType)
Definition: usage.c:26
VOID NTAPI HalpInitializePciBus(VOID)
Definition: halacpi.c:913
PWCHAR HalName
Definition: halpcat.c:27
@ Eisa
Definition: hwresource.cpp:139
@ Internal
Definition: hwresource.cpp:137
@ MicroChannel
Definition: hwresource.cpp:140
@ Isa
Definition: hwresource.cpp:138
enum _INTERFACE_TYPE INTERFACE_TYPE
VOID NTAPI HalpRegisterPciDebuggingDeviceInfo(VOID)
Definition: kdpci.c:331
#define MACHINE_TYPE_MCA
Definition: ketypes.h:115
#define MACHINE_TYPE_ISA
Definition: ketypes.h:113
NTSYSAPI VOID NTAPI RtlInitUnicodeString(PUNICODE_STRING DestinationString, PCWSTR SourceString)
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID InterfaceType
Definition: wdffdo.h:463

Variable Documentation

◆ HalDisableFirmwareMapper

BOOLEAN HalDisableFirmwareMapper = FALSE

Definition at line 18 of file halpcat.c.

◆ HalHardwareIdString

PWCHAR HalHardwareIdString = L"e_isa_up"

Definition at line 26 of file halpcat.c.

◆ HalName

PWCHAR HalName = L"PC Compatible Eisa/Isa HAL"

Definition at line 27 of file halpcat.c.

Referenced by HalReportResourceUsage().