Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

halfnc.c File Reference

#include "ntos.h"
#include "haldisp.h"

Go to the source code of this file.

Functions

NTSTATUS xHalQuerySystemInformation (IN HAL_QUERY_INFORMATION_CLASS InformationClass, IN ULONG BufferSize, OUT PVOID Buffer, OUT PULONG ReturnedLength)
NTSTATUS xHalSetSystemInformation (IN HAL_SET_INFORMATION_CLASS InformationClass, IN ULONG BufferSize, OUT PVOID Buffer)
NTSTATUS xHalQueryBusSlots (IN PBUS_HANDLER BusHandler, IN ULONG BufferSize, OUT PULONG SlotNumbers, OUT PULONG ReturnedLength)
NTSTATUS xHalRegisterBusHandler (IN INTERFACE_TYPE InterfaceType, IN BUS_DATA_TYPE ConfigurationSpace, IN ULONG BusNumber, IN INTERFACE_TYPE ParentBusType, IN ULONG ParentBusNumber, IN ULONG SizeofBusExtensionData, IN PINSTALL_BUS_HANDLER InstallBusHandler, OUT PBUS_HANDLER *BusHandler)
VOID xHalSetWakeEnable (IN BOOLEAN Enable)
VOID xHalSetWakeAlarm (IN ULONGLONG WakeTime, IN PTIME_FIELDS WakeTimeFields)
VOID xHalLocateHiberRanges (IN PVOID MemoryMap)
PBUS_HANDLER FASTCALL xHalHandlerForBus (IN INTERFACE_TYPE InterfaceType, IN ULONG BusNumber)
VOID FASTCALL xHalReferenceHandler (IN PBUS_HANDLER Handler)
NTSTATUS xHalInitPnpDriver (VOID)
NTSTATUS xHalInitPowerManagement (IN PPM_DISPATCH_TABLE PmDriverDispatchTable, IN OUT PPM_DISPATCH_TABLE *PmHalDispatchTable)
BOOLEAN xHalTranslateBusAddress (IN INTERFACE_TYPE InterfaceType, IN ULONG BusNumber, IN PHYSICAL_ADDRESS BusAddress, IN OUT PULONG AddressSpace, OUT PPHYSICAL_ADDRESS TranslatedAddress)
NTSTATUS xHalAssignSlotResources (IN PUNICODE_STRING RegistryPath, IN PUNICODE_STRING DriverClassName OPTIONAL, IN PDRIVER_OBJECT DriverObject, IN PDEVICE_OBJECT DeviceObject OPTIONAL, IN INTERFACE_TYPE BusType, IN ULONG BusNumber, IN ULONG SlotNumber, IN OUT PCM_RESOURCE_LIST *AllocatedResources)
VOID xHalHaltSystem (VOID)

Variables

HAL_DISPATCH HalDispatchTable
HAL_PRIVATE_DISPATCH HalPrivateDispatchTable


Function Documentation

NTSTATUS xHalAssignSlotResources IN PUNICODE_STRING  RegistryPath,
IN PUNICODE_STRING DriverClassName  OPTIONAL,
IN PDRIVER_OBJECT  DriverObject,
IN PDEVICE_OBJECT DeviceObject  OPTIONAL,
IN INTERFACE_TYPE  BusType,
IN ULONG  BusNumber,
IN ULONG  SlotNumber,
IN OUT PCM_RESOURCE_LIST *  AllocatedResources
 

Definition at line 884 of file halfnc.c.

References KeBugCheckEx().

00894 { 00895 // 00896 // If the HAL fails to override this function, then 00897 // the HAL has clearly failed to initialize. 00898 // 00899 00900 KeBugCheckEx(HAL_INITIALIZATION_FAILED, 0, 0, 0, 7); 00901 return STATUS_NOT_IMPLEMENTED; 00902 }

VOID xHalHaltSystem VOID   ) 
 

Definition at line 905 of file halfnc.c.

00908 { 00909 for (;;) ; 00910 }

PBUS_HANDLER FASTCALL xHalHandlerForBus IN INTERFACE_TYPE  InterfaceType,
IN ULONG  BusNumber
 

Definition at line 177 of file halfnc.c.

References NULL.

00181 { 00182 return NULL; 00183 }

NTSTATUS xHalInitPnpDriver VOID   ) 
 

Definition at line 193 of file halfnc.c.

00196 { 00197 return STATUS_NOT_SUPPORTED; 00198 }

NTSTATUS xHalInitPowerManagement IN PPM_DISPATCH_TABLE  PmDriverDispatchTable,
IN OUT PPM_DISPATCH_TABLE PmHalDispatchTable
 

Definition at line 201 of file halfnc.c.

00205 { 00206 return STATUS_NOT_SUPPORTED; 00207 }

VOID xHalLocateHiberRanges IN PVOID  MemoryMap  ) 
 

Definition at line 169 of file halfnc.c.

00172 { 00173 }

NTSTATUS xHalQueryBusSlots IN PBUS_HANDLER  BusHandler,
IN ULONG  BufferSize,
OUT PULONG  SlotNumbers,
OUT PULONG  ReturnedLength
 

Definition at line 123 of file halfnc.c.

References PAGED_CODE.

00129 { 00130 PAGED_CODE (); 00131 return STATUS_NOT_SUPPORTED; 00132 }

NTSTATUS xHalQuerySystemInformation IN HAL_QUERY_INFORMATION_CLASS  InformationClass,
IN ULONG  BufferSize,
OUT PVOID  Buffer,
OUT PULONG  ReturnedLength
 

Definition at line 100 of file halfnc.c.

References PAGED_CODE.

00106 { 00107 PAGED_CODE (); 00108 return STATUS_INVALID_LEVEL; 00109 }

VOID FASTCALL xHalReferenceHandler IN PBUS_HANDLER  Handler  ) 
 

Definition at line 187 of file halfnc.c.

00190 { 00191 }

NTSTATUS xHalRegisterBusHandler IN INTERFACE_TYPE  InterfaceType,
IN BUS_DATA_TYPE  ConfigurationSpace,
IN ULONG  BusNumber,
IN INTERFACE_TYPE  ParentBusType,
IN ULONG  ParentBusNumber,
IN ULONG  SizeofBusExtensionData,
IN PINSTALL_BUS_HANDLER  InstallBusHandler,
OUT PBUS_HANDLER BusHandler
 

Definition at line 136 of file halfnc.c.

References PAGED_CODE.

00146 { 00147 PAGED_CODE (); 00148 return STATUS_NOT_SUPPORTED; 00149 }

NTSTATUS xHalSetSystemInformation IN HAL_SET_INFORMATION_CLASS  InformationClass,
IN ULONG  BufferSize,
OUT PVOID  Buffer
 

Definition at line 112 of file halfnc.c.

References PAGED_CODE.

00117 { 00118 PAGED_CODE (); 00119 return STATUS_INVALID_LEVEL; 00120 }

VOID xHalSetWakeAlarm IN ULONGLONG  WakeTime,
IN PTIME_FIELDS  WakeTimeFields
 

Definition at line 161 of file halfnc.c.

00165 { 00166 }

VOID xHalSetWakeEnable IN BOOLEAN  Enable  ) 
 

Definition at line 153 of file halfnc.c.

00156 { 00157 }

BOOLEAN xHalTranslateBusAddress IN INTERFACE_TYPE  InterfaceType,
IN ULONG  BusNumber,
IN PHYSICAL_ADDRESS  BusAddress,
IN OUT PULONG  AddressSpace,
OUT PPHYSICAL_ADDRESS  TranslatedAddress
 

Definition at line 866 of file halfnc.c.

References FALSE, and KeBugCheckEx().

00873 { 00874 // 00875 // If the HAL fails to override this function, then 00876 // the HAL has clearly failed to initialize. 00877 // 00878 00879 KeBugCheckEx(HAL_INITIALIZATION_FAILED, 0, 0, 0, 7); 00880 return FALSE; 00881 }


Variable Documentation

HAL_DISPATCH HalDispatchTable
 

Initial value:

Definition at line 25 of file halfnc.c.

HAL_PRIVATE_DISPATCH HalPrivateDispatchTable
 

Initial value:

Definition at line 46 of file halfnc.c.


Generated on Sat May 15 19:43:55 2004 for test by doxygen 1.3.7