ReactOS  0.4.15-dev-3316-g067ca88
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 CM_RESOURCE_PORT_16_BIT_DECODE
Definition: cmtypes.h:112
#define MACHINE_TYPE_EISA
Definition: ketypes.h:53

◆ 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_NO_SUCH_DEVICE;
39 }
#define STATUS_NO_SUCH_DEVICE
Definition: udferr_usr.h:136

◆ 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:
107  InterfaceType = Isa;
108  break;
109 
110  /* EISA Machine */
111  case MACHINE_TYPE_EISA:
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 }
enum _INTERFACE_TYPE INTERFACE_TYPE
ULONG HalpBusType
Definition: pcibus.c:18
VOID NTAPI HalpInitializePciBus(VOID)
Definition: halacpi.c:913
#define MACHINE_TYPE_ISA
Definition: ketypes.h:52
#define MACHINE_TYPE_MCA
Definition: ketypes.h:54
PWCHAR HalName
Definition: halpcat.c:27
NTSYSAPI VOID NTAPI RtlInitUnicodeString(PUNICODE_STRING DestinationString, PCWSTR SourceString)
VOID NTAPI HalpInitializePciStubs(VOID)
Definition: pcibus.c:1102
VOID NTAPI HalpReportResourceUsage(IN PUNICODE_STRING HalName, IN INTERFACE_TYPE InterfaceType)
Definition: usage.c:26
VOID NTAPI HalpRegisterPciDebuggingDeviceInfo(VOID)
Definition: pcibus.c:633
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID InterfaceType
Definition: wdffdo.h:461
#define MACHINE_TYPE_EISA
Definition: ketypes.h:53

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().