ReactOS 0.4.15-dev-7788-g1ad9096
halfuncs.h File Reference

Go to the source code of this file.

Typedefs

typedef struct _WHEA_ERROR_SOURCE_DESCRIPTOR * PWHEA_ERROR_SOURCE_DESCRIPTOR
 
typedef struct _WHEA_ERROR_RECORD * PWHEA_ERROR_RECORD
 

Functions

NTHALAPI VOID NTAPI IoFreeAdapterChannel (_In_ PADAPTER_OBJECT AdapterObject)
 
NTHALAPI BOOLEAN NTAPI IoFlushAdapterBuffers (_In_ PADAPTER_OBJECT AdapterObject, _In_ PMDL Mdl, _In_ PVOID MapRegisterBase, _In_ PVOID CurrentVa, _In_ ULONG Length, _In_ BOOLEAN WriteToDevice)
 
NTHALAPI VOID NTAPI IoFreeMapRegisters (_In_ PADAPTER_OBJECT AdapterObject, _In_ PVOID MapRegisterBase, _In_ ULONG NumberOfMapRegisters)
 
NTHALAPI PVOID NTAPI HalAllocateCommonBuffer (_In_ PADAPTER_OBJECT AdapterObject, _In_ ULONG Length, _Out_ PPHYSICAL_ADDRESS LogicalAddress, _In_ BOOLEAN CacheEnabled)
 
NTHALAPI VOID NTAPI HalFreeCommonBuffer (_In_ PADAPTER_OBJECT AdapterObject, _In_ ULONG Length, _In_ PHYSICAL_ADDRESS LogicalAddress, _In_ PVOID VirtualAddress, _In_ BOOLEAN CacheEnabled)
 
NTHALAPI ULONG NTAPI HalReadDmaCounter (_In_ PADAPTER_OBJECT AdapterObject)
 
NTHALAPI NTSTATUS NTAPI HalAllocateAdapterChannel (_In_ PADAPTER_OBJECT AdapterObject, _In_ PWAIT_CONTEXT_BLOCK Wcb, _In_ ULONG NumberOfMapRegisters, _In_ PDRIVER_CONTROL ExecutionRoutine)
 
 $endif (_NTDDK_) $if(_NTDDK_) NTHALAPI NTSTATUS NTAPI HalAssignSlotResources(_In_ PUNICODE_STRING RegistryPath
 
 _IRQL_requires_max_ (PASSIVE_LEVEL) NTHALAPI ULONG NTAPI HalGetInterruptVector(_In_ INTERFACE_TYPE InterfaceType
 Queries information details about a security descriptor.
 
NTHALAPI ULONG NTAPI HalSetBusData (_In_ BUS_DATA_TYPE BusDataType, _In_ ULONG BusNumber, _In_ ULONG SlotNumber, _In_reads_bytes_(Length) PVOID Buffer, _In_ ULONG Length)
 
NTHALAPI ULONG NTAPI HalGetBusData (_In_ BUS_DATA_TYPE BusDataType, _In_ ULONG BusNumber, _In_ ULONG SlotNumber, _Out_writes_bytes_(Length) PVOID Buffer, _In_ ULONG Length)
 
NTHALAPI BOOLEAN NTAPI HalMakeBeep (_In_ ULONG Frequency)
 
VOID NTAPI HalPutDmaAdapter (_In_ PADAPTER_OBJECT DmaAdapter)
 
NTHALAPI VOID NTAPI HalAcquireDisplayOwnership (_In_ PHAL_RESET_DISPLAY_PARAMETERS ResetDisplayParameters)
 
NTHALAPI ULONG NTAPI HalGetBusDataByOffset (_In_ BUS_DATA_TYPE BusDataType, _In_ ULONG BusNumber, _In_ ULONG SlotNumber, _Out_writes_bytes_(Length) PVOID Buffer, _In_ ULONG Offset, _In_ ULONG Length)
 
NTHALAPI ULONG NTAPI HalSetBusDataByOffset (_In_ BUS_DATA_TYPE BusDataType, _In_ ULONG BusNumber, _In_ ULONG SlotNumber, _In_reads_bytes_(Length) PVOID Buffer, _In_ ULONG Offset, _In_ ULONG Length)
 
NTHALAPI BOOLEAN NTAPI HalTranslateBusAddress (_In_ INTERFACE_TYPE InterfaceType, _In_ ULONG BusNumber, _In_ PHYSICAL_ADDRESS BusAddress, _Inout_ PULONG AddressSpace, _Out_ PPHYSICAL_ADDRESS TranslatedAddress)
 
NTHALAPI PVOID NTAPI HalAllocateCrashDumpRegisters (_In_ PADAPTER_OBJECT AdapterObject, _Inout_ PULONG NumberOfMapRegisters)
 
NTSTATUS NTAPI HalGetScatterGatherList (_In_ PADAPTER_OBJECT DmaAdapter, _In_ PDEVICE_OBJECT DeviceObject, _In_ PMDL Mdl, _In_ PVOID CurrentVa, _In_ ULONG Length, _In_ PDRIVER_LIST_CONTROL ExecutionRoutine, _In_ PVOID Context, _In_ BOOLEAN WriteToDevice)
 
VOID NTAPI HalPutScatterGatherList (_In_ PADAPTER_OBJECT DmaAdapter, _In_ PSCATTER_GATHER_LIST ScatterGather, _In_ BOOLEAN WriteToDevice)
 
NTSTATUS NTAPI HalAllocateHardwareCounters (_In_reads_(GroupCount) PGROUP_AFFINITY GroupAffinty, _In_ ULONG GroupCount, _In_ PPHYSICAL_COUNTER_RESOURCE_LIST ResourceList, _Out_ PHANDLE CounterSetHandle)
 
NTSTATUS NTAPI HalFreeHardwareCounters (_In_ HANDLE CounterSetHandle)
 
NTHALAPI VOID NTAPI HalBugCheckSystem (_In_ PWHEA_ERROR_SOURCE_DESCRIPTOR ErrorSource, _In_ PWHEA_ERROR_RECORD ErrorRecord)
 

Variables

_In_opt_ PUNICODE_STRING DriverClassName
 
_In_opt_ PUNICODE_STRING _In_ PDRIVER_OBJECT DriverObject
 
_In_opt_ PUNICODE_STRING _In_ PDRIVER_OBJECT _In_ PDEVICE_OBJECT DeviceObject
 
_In_opt_ PUNICODE_STRING _In_ PDRIVER_OBJECT _In_ PDEVICE_OBJECT _In_ INTERFACE_TYPE BusType
 
_In_opt_ PUNICODE_STRING _In_ PDRIVER_OBJECT _In_ PDEVICE_OBJECT _In_ INTERFACE_TYPE _In_ ULONG BusNumber
 
_In_opt_ PUNICODE_STRING _In_ PDRIVER_OBJECT _In_ PDEVICE_OBJECT _In_ INTERFACE_TYPE _In_ ULONG _In_ ULONG SlotNumber
 
_In_opt_ PUNICODE_STRING _In_ PDRIVER_OBJECT _In_ PDEVICE_OBJECT _In_ INTERFACE_TYPE _In_ ULONG _In_ ULONG _Inout_ PCM_RESOURCE_LISTAllocatedResources
 
_In_ ULONG _In_ ULONG BusInterruptLevel
 
_In_ ULONG _In_ ULONG _In_ ULONG BusInterruptVector
 
_In_ ULONG _In_ ULONG _In_ ULONG _Out_ PKIRQL Irql
 
_In_ ULONG _In_ ULONG _In_ ULONG _Out_ PKIRQL _Out_ PKAFFINITY Affinity
 
_Out_ PULONG NumberOfMapRegisters
 
_In_ ULONG SectorSize
 
_In_ ULONG _In_ ULONG MBRTypeIdentifier
 
_In_ ULONG _In_ ULONG _Out_ PVOIDBuffer
 

Typedef Documentation

◆ PWHEA_ERROR_RECORD

typedef struct _WHEA_ERROR_RECORD* PWHEA_ERROR_RECORD

Definition at line 329 of file halfuncs.h.

◆ PWHEA_ERROR_SOURCE_DESCRIPTOR

typedef struct _WHEA_ERROR_SOURCE_DESCRIPTOR* PWHEA_ERROR_SOURCE_DESCRIPTOR

Definition at line 328 of file halfuncs.h.

Function Documentation

◆ $endif()

$endif ( _NTDDK_  )

Definition at line 546 of file iofuncs.h.

2502{
2503 PriorityInfo->Size = sizeof(IO_PRIORITY_INFO);
2504 PriorityInfo->ThreadPriority = 0xffff;
2505 PriorityInfo->IoPriority = IoPriorityNormal;
2506 PriorityInfo->PagePriority = 0;
2507}
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD _Inout_ PIO_PRIORITY_INFO PriorityInfo
Definition: fltkernel.h:2654
struct _IO_PRIORITY_INFO IO_PRIORITY_INFO
@ IoPriorityNormal
Definition: iotypes.h:1233

◆ _IRQL_requires_max_()

_IRQL_requires_max_ ( PASSIVE_LEVEL  )

Queries information details about a security descriptor.

Computes the quota size of a security descriptor.

Assigns a security descriptor for a new object.

An extended function that assigns a security descriptor for a new object.

Frees a security descriptor.

An extended function that sets new information data to a security descriptor.

Modifies some information data about a security descriptor.

Parameters
[in]SecurityInformationSecurity information details to be queried from a security descriptor.
[out]SecurityDescriptorThe returned security descriptor with security information data.
[in,out]LengthThe returned length of a security descriptor.
[in,out]ObjectsSecurityDescriptorThe returned object security descriptor.
Returns
Returns STATUS_SUCCESS if the operations have been completed successfully and that the specific information about the security descriptor has been queried. STATUS_BUFFER_TOO_SMALL is returned if the buffer size is too small to contain the queried info about the security descriptor.
Parameters
[in]ObjectIf specified, the function will use this arbitrary object that points to an object security descriptor.
[in]SecurityInformationSecurity information details to be set.
[in]SecurityDescriptorA security descriptor where its info is to be changed.
[in,out]ObjectsSecurityDescriptorThe returned pointer to security descriptor objects.
[in]PoolTypePool type for the new security descriptor to allocate.
[in]GenericMappingThe generic mapping of access rights masks.
Returns
See SeSetSecurityDescriptorInfoEx.
Parameters
[in]ObjectIf specified, the function will use this arbitrary object that points to an object security descriptor.
[in]SecurityInformationSecurity information details to be set.
[in]SecurityDescriptorA security descriptor where its info is to be changed.
[in,out]ObjectsSecurityDescriptorThe returned pointer to security descriptor objects.
[in]AutoInheritFlagsFlags bitmask inheritation, influencing how the security descriptor can be inherited and if it can be in the first place.
[in]PoolTypePool type for the new security descriptor to allocate.
[in]GenericMappingThe generic mapping of access rights masks.
Returns
Returns STATUS_SUCCESS if the operations have been completed without problems and that new info has been set to the security descriptor. STATUS_NO_SECURITY_ON_OBJECT is returned if the object does not have a security descriptor. STATUS_INSUFFICIENT_RESOURCES is returned if memory pool allocation for the new security descriptor with new info set has failed.
Parameters
[in]SecurityDescriptorA security descriptor to be freed from memory.
Returns
Returns STATUS_SUCCESS.
Parameters
[in]_ParentDescriptorA security descriptor of the parent object that is being created.
[in]_ExplicitDescriptorAn explicit security descriptor that is applied to a new object.
[out]NewDescriptorThe new allocated security descriptor.
[in]ObjectTypeThe type of the new object.
[in]IsDirectoryObjectSet this to TRUE if the newly created object is a directory object, otherwise set this to FALSE.
[in]AutoInheritFlagsAutomatic inheritance flags that influence how access control entries within ACLs from security descriptors are inherited.
[in]SubjectContextSecurity subject context of the new object.
[in]GenericMappingGeneric mapping of access mask rights.
[in]PoolTypeThis parameter is unused.
Returns
Returns STATUS_SUCCESS if the operations have been completed successfully and that the security descriptor has been assigned to the new object. STATUS_NO_TOKEN is returned if the caller hasn't supplied a valid argument to a security subject context. STATUS_INVALID_OWNER is returned if the caller hasn't supplied a parent descriptor that belongs to the main user (owner). STATUS_INVALID_PRIMARY_GROUP is returned by the same reason as with the previous NTSTATUS code. The two NTSTATUS codes are returned if the calling thread stated that the owner and/or group is defaulted to the parent descriptor (SEF_DEFAULT_OWNER_FROM_PARENT and/or SEF_DEFAULT_GROUP_FROM_PARENT respectively). STATUS_INSUFFICIENT_RESOURCES is returned if memory pool allocation for the descriptor buffer has failed. A failure NTSTATUS is returned otherwise.
Parameters
[in]ParentDescriptorA security descriptor of the parent object that is being created.
[in]ExplicitDescriptorAn explicit security descriptor that is applied to a new object.
[out]NewDescriptorThe new allocated security descriptor.
[in]IsDirectoryObjectSet this to TRUE if the newly created object is a directory object, otherwise set this to FALSE.
[in]SubjectContextSecurity subject context of the new object.
[in]GenericMappingGeneric mapping of access mask rights.
[in]PoolTypeThis parameter is unused.
Returns
See SeAssignSecurityEx.
Parameters
[in]SecurityDescriptorA security descriptor.
[out]QuotaInfoSizeThe returned quota size of the given security descriptor to the caller. The function may return 0 to this parameter if the descriptor doesn't have a group or a discretionary access control list (DACL) even.
Returns
Returns STATUS_SUCCESS if the quota size of a security descriptor has been computed successfully. STATUS_UNKNOWN_REVISION is returned if the security descriptor has an invalid revision.

Definition at line 923 of file Messaging.c.

75{
76 PFLT_SERVER_PORT_OBJECT PortObject;
78
79 /* The caller must allow at least one connection */
80 if (MaxConnections == 0)
81 {
83 }
84
85 /* The request must be for a kernel handle */
86 if (!(ObjectAttributes->Attributes & OBJ_KERNEL_HANDLE))
87 {
89 }
90
91 /*
92 * Get rundown protection on the target to stop the owner
93 * from unloading whilst this port object is open. It gets
94 * removed in the FltpServerPortClose callback
95 */
97 if (!NT_SUCCESS(Status))
98 {
99 return Status;
100 }
101
102 /* Create the server port object for this filter */
107 NULL,
109 0,
110 0,
111 (PVOID *)&PortObject);
112 if (NT_SUCCESS(Status))
113 {
114 /* Zero out the struct */
115 RtlZeroMemory(PortObject, sizeof(FLT_SERVER_PORT_OBJECT));
116
117 /* Increment the ref count on the target filter */
119
120 /* Setup the filter port object */
121 PortObject->Filter = Filter;
125 PortObject->Cookie = ServerPortCookie;
126 PortObject->MaxConnections = MaxConnections;
127
128 /* Insert the object */
129 Status = ObInsertObject(PortObject,
130 NULL,
132 0,
133 NULL,
135 if (NT_SUCCESS(Status))
136 {
137 /* Lock the connection list */
139
140 /* Add the new port object to the connection list and increment the count */
143
144 /* Unlock the connection list*/
146 }
147 }
148
149 if (!NT_SUCCESS(Status))
150 {
151 /* Allow the filter to be cleaned up */
153 }
154
155 return Status;
156}
static const INTERNET_PORT ServerPort
Definition: CWebService.cpp:11
POBJECT_TYPE ServerPortObjectType
Definition: Messaging.c:24
VOID FLTAPI FltObjectDereference(_Inout_ PVOID Object)
Definition: Object.c:53
NTSTATUS FLTAPI FltObjectReference(_Inout_ PVOID Object)
Definition: Object.c:41
LONG NTSTATUS
Definition: precomp.h:26
IN PUNICODE_STRING IN POBJECT_ATTRIBUTES ObjectAttributes
Definition: conport.c:36
#define NULL
Definition: types.h:112
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
#define InsertTailList(ListHead, Entry)
_Must_inspect_result_ _In_opt_ PFLT_FILTER Filter
Definition: fltkernel.h:1801
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID _In_ PFLT_CONNECT_NOTIFY _In_ PFLT_DISCONNECT_NOTIFY _In_opt_ PFLT_MESSAGE_NOTIFY MessageNotifyCallback
Definition: fltkernel.h:1877
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID _In_ PFLT_CONNECT_NOTIFY ConnectNotifyCallback
Definition: fltkernel.h:1875
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID ServerPortCookie
Definition: fltkernel.h:1874
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID _In_ PFLT_CONNECT_NOTIFY _In_ PFLT_DISCONNECT_NOTIFY DisconnectNotifyCallback
Definition: fltkernel.h:1876
ULONG FltpObjectPointerReference(_In_ PFLT_OBJECT Object)
Definition: Object.c:322
Status
Definition: gdiplustypes.h:25
VOID FASTCALL ExAcquireFastMutex(IN PFAST_MUTEX FastMutex)
Definition: fmutex.c:23
VOID FASTCALL ExReleaseFastMutex(IN PFAST_MUTEX FastMutex)
Definition: fmutex.c:31
#define OBJ_KERNEL_HANDLE
Definition: winternl.h:231
static LONG MaxConnections
#define KernelMode
Definition: asm.h:34
#define FILE_READ_DATA
Definition: nt_native.h:628
#define STANDARD_RIGHTS_ALL
Definition: nt_native.h:69
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:455
NTSTATUS NTAPI ObInsertObject(IN PVOID Object, IN PACCESS_STATE AccessState OPTIONAL, IN ACCESS_MASK DesiredAccess, IN ULONG ObjectPointerBias, OUT PVOID *NewObject OPTIONAL, OUT PHANDLE Handle)
Definition: obhandle.c:2935
NTSTATUS NTAPI ObCreateObject(IN KPROCESSOR_MODE ProbeMode OPTIONAL, IN POBJECT_TYPE Type, IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL, IN KPROCESSOR_MODE AccessMode, IN OUT PVOID ParseContext OPTIONAL, IN ULONG ObjectSize, IN ULONG PagedPoolCharge OPTIONAL, IN ULONG NonPagedPoolCharge OPTIONAL, OUT PVOID *Object)
Definition: oblife.c:1039
FLT_MUTEX_LIST_HEAD ConnectionList
Definition: fltmgrint.h:121
LIST_ENTRY mList
Definition: fltmgrint.h:56
FAST_MUTEX mLock
Definition: fltmgrint.h:55
PFLT_DISCONNECT_NOTIFY DisconnectNotify
Definition: fltmgrint.h:192
PFLT_MESSAGE_NOTIFY MessageNotify
Definition: fltmgrint.h:193
PFLT_CONNECT_NOTIFY ConnectNotify
Definition: fltmgrint.h:191
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262
#define STATUS_INVALID_PARAMETER
Definition: udferr_usr.h:135

◆ HalAcquireDisplayOwnership()

NTHALAPI VOID NTAPI HalAcquireDisplayOwnership ( _In_ PHAL_RESET_DISPLAY_PARAMETERS  ResetDisplayParameters)

◆ HalAllocateAdapterChannel()

NTHALAPI NTSTATUS NTAPI HalAllocateAdapterChannel ( _In_ PADAPTER_OBJECT  AdapterObject,
_In_ PWAIT_CONTEXT_BLOCK  Wcb,
_In_ ULONG  NumberOfMapRegisters,
_In_ PDRIVER_CONTROL  ExecutionRoutine 
)

◆ HalAllocateCommonBuffer()

NTHALAPI PVOID NTAPI HalAllocateCommonBuffer ( _In_ PADAPTER_OBJECT  AdapterObject,
_In_ ULONG  Length,
_Out_ PPHYSICAL_ADDRESS  LogicalAddress,
_In_ BOOLEAN  CacheEnabled 
)

◆ HalAllocateCrashDumpRegisters()

NTHALAPI PVOID NTAPI HalAllocateCrashDumpRegisters ( _In_ PADAPTER_OBJECT  AdapterObject,
_Inout_ PULONG  NumberOfMapRegisters 
)

◆ HalAllocateHardwareCounters()

NTSTATUS NTAPI HalAllocateHardwareCounters ( _In_reads_(GroupCount) PGROUP_AFFINITY  GroupAffinty,
_In_ ULONG  GroupCount,
_In_ PPHYSICAL_COUNTER_RESOURCE_LIST  ResourceList,
_Out_ PHANDLE  CounterSetHandle 
)

◆ HalBugCheckSystem()

NTHALAPI VOID NTAPI HalBugCheckSystem ( _In_ PWHEA_ERROR_SOURCE_DESCRIPTOR  ErrorSource,
_In_ PWHEA_ERROR_RECORD  ErrorRecord 
)

◆ HalFreeCommonBuffer()

NTHALAPI VOID NTAPI HalFreeCommonBuffer ( _In_ PADAPTER_OBJECT  AdapterObject,
_In_ ULONG  Length,
_In_ PHYSICAL_ADDRESS  LogicalAddress,
_In_ PVOID  VirtualAddress,
_In_ BOOLEAN  CacheEnabled 
)

◆ HalFreeHardwareCounters()

NTSTATUS NTAPI HalFreeHardwareCounters ( _In_ HANDLE  CounterSetHandle)

◆ HalGetBusData()

NTHALAPI ULONG NTAPI HalGetBusData ( _In_ BUS_DATA_TYPE  BusDataType,
_In_ ULONG  BusNumber,
_In_ ULONG  SlotNumber,
_Out_writes_bytes_(Length) PVOID  Buffer,
_In_ ULONG  Length 
)

◆ HalGetBusDataByOffset()

NTHALAPI ULONG NTAPI HalGetBusDataByOffset ( _In_ BUS_DATA_TYPE  BusDataType,
_In_ ULONG  BusNumber,
_In_ ULONG  SlotNumber,
_Out_writes_bytes_(Length) PVOID  Buffer,
_In_ ULONG  Offset,
_In_ ULONG  Length 
)

◆ HalGetScatterGatherList()

NTSTATUS NTAPI HalGetScatterGatherList ( _In_ PADAPTER_OBJECT  DmaAdapter,
_In_ PDEVICE_OBJECT  DeviceObject,
_In_ PMDL  Mdl,
_In_ PVOID  CurrentVa,
_In_ ULONG  Length,
_In_ PDRIVER_LIST_CONTROL  ExecutionRoutine,
_In_ PVOID  Context,
_In_ BOOLEAN  WriteToDevice 
)

◆ HalMakeBeep()

NTHALAPI BOOLEAN NTAPI HalMakeBeep ( _In_ ULONG  Frequency)

Definition at line 19 of file beep.c.

21{
22 TIMER_CONTROL_PORT_REGISTER TimerControl;
23 ULONG Divider;
25
27
29
30 if (Frequency)
31 {
32 Divider = PIT_FREQUENCY / Frequency;
33
34 if (Divider <= 0x10000)
35 {
36 TimerControl.BcdMode = FALSE;
37 TimerControl.OperatingMode = PitOperatingMode3;
38 TimerControl.Channel = PitChannel1;
39 TimerControl.AccessMode = PitAccessModeLowHigh;
40 __outbyte(TIMER_CONTROL_PORT, TimerControl.Bits);
43
45
46 Success = TRUE;
47 }
48 }
49
51
52 return Success;
53}
unsigned char BOOLEAN
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
@ Success
Definition: eventcreate.c:712
VOID NTAPI HalpReleaseCmosSpinLock(VOID)
Definition: spinlock.c:243
VOID NTAPI HalpAcquireCmosSpinLock(VOID)
Definition: spinlock.c:226
#define PIT_FREQUENCY
Definition: halhw.h:61
@ PitChannel1
Definition: halhw.h:103
#define TIMER_CONTROL_PORT
Definition: halhw.h:70
@ PitAccessModeLowHigh
Definition: halhw.h:97
#define TIMER_CHANNEL1_DATA_PORT
Definition: halhw.h:68
@ PitOperatingMode3
Definition: halhw.h:85
PPC_QUAL void __outbyte(unsigned long const Port, const unsigned char Data)
Definition: intrin_ppc.h:605
static LARGE_INTEGER Frequency
Definition: clock.c:41
#define PPI_IO_o_CONTROL
Definition: sysport.h:12
#define PPI_TIMER_1_UNGATE_TO_SPEAKER
Definition: sysport.h:14
#define PPI_TIMER_1_GATE_TO_SPEAKER
Definition: sysport.h:13
uint32_t ULONG
Definition: typedefs.h:59
#define SECONDBYTE(VALUE)
Definition: rtlfuncs.h:796
#define FIRSTBYTE(VALUE)
Definition: rtlfuncs.h:795

◆ HalPutDmaAdapter()

VOID NTAPI HalPutDmaAdapter ( _In_ PADAPTER_OBJECT  DmaAdapter)

◆ HalPutScatterGatherList()

VOID NTAPI HalPutScatterGatherList ( _In_ PADAPTER_OBJECT  DmaAdapter,
_In_ PSCATTER_GATHER_LIST  ScatterGather,
_In_ BOOLEAN  WriteToDevice 
)

◆ HalReadDmaCounter()

NTHALAPI ULONG NTAPI HalReadDmaCounter ( _In_ PADAPTER_OBJECT  AdapterObject)

◆ HalSetBusData()

NTHALAPI ULONG NTAPI HalSetBusData ( _In_ BUS_DATA_TYPE  BusDataType,
_In_ ULONG  BusNumber,
_In_ ULONG  SlotNumber,
_In_reads_bytes_(Length) PVOID  Buffer,
_In_ ULONG  Length 
)

◆ HalSetBusDataByOffset()

NTHALAPI ULONG NTAPI HalSetBusDataByOffset ( _In_ BUS_DATA_TYPE  BusDataType,
_In_ ULONG  BusNumber,
_In_ ULONG  SlotNumber,
_In_reads_bytes_(Length) PVOID  Buffer,
_In_ ULONG  Offset,
_In_ ULONG  Length 
)

◆ HalTranslateBusAddress()

NTHALAPI BOOLEAN NTAPI HalTranslateBusAddress ( _In_ INTERFACE_TYPE  InterfaceType,
_In_ ULONG  BusNumber,
_In_ PHYSICAL_ADDRESS  BusAddress,
_Inout_ PULONG  AddressSpace,
_Out_ PPHYSICAL_ADDRESS  TranslatedAddress 
)

◆ IoFlushAdapterBuffers()

NTHALAPI BOOLEAN NTAPI IoFlushAdapterBuffers ( _In_ PADAPTER_OBJECT  AdapterObject,
_In_ PMDL  Mdl,
_In_ PVOID  MapRegisterBase,
_In_ PVOID  CurrentVa,
_In_ ULONG  Length,
_In_ BOOLEAN  WriteToDevice 
)

◆ IoFreeAdapterChannel()

NTHALAPI VOID NTAPI IoFreeAdapterChannel ( _In_ PADAPTER_OBJECT  AdapterObject)

◆ IoFreeMapRegisters()

NTHALAPI VOID NTAPI IoFreeMapRegisters ( _In_ PADAPTER_OBJECT  AdapterObject,
_In_ PVOID  MapRegisterBase,
_In_ ULONG  NumberOfMapRegisters 
)

Variable Documentation

◆ Affinity

◆ AllocatedResources

◆ Buffer

Definition at line 293 of file halfuncs.h.

◆ BusInterruptLevel

◆ BusInterruptVector

_In_ ULONG _In_ ULONG _In_ ULONG BusInterruptVector

Definition at line 172 of file halfuncs.h.

Referenced by HalGetInterruptVector(), and HalpGetSystemInterruptVector().

◆ BusNumber

_In_ ULONG BusNumber

Definition at line 160 of file halfuncs.h.

Referenced by AcpiHwGetPciDeviceInfo(), AcpiHwProcessPciList(), AddControllers(), AllocateAddressMapping(), AtapiFindDev(), AtapiFindListedDev(), Bus_PDO_QueryResources(), CmpInitializeRegistryNode(), CmpSetupConfigurationTree(), CODE_SEG(), ConfigCallback(), FindBrokenController(), HalAssignSlotResources(), HalGetBusData(), HalGetBusDataByOffset(), HalGetInterruptVector(), HaliHandlerForBus(), HaliHandlerForConfigSpace(), HaliPciInterfaceReadConfig(), HaliReferenceHandlerForBus(), HaliReferenceHandlerForConfigSpace(), HaliRegisterBusHandler(), HaliTranslateBusAddress(), HalpAllocateBusHandler(), HalpAssignSlotResources(), HalpFindMatchingDebuggingDevice(), HalpGetCmosData(), HalpSetCmosData(), HalSetBusData(), HalSetBusDataByOffset(), HalTranslateBusAddress(), InitializeConfiguration(), IntVideoPortEnumBusCallback(), IntVideoPortEnumBuses(), IntVideoPortFindAdapter(), IoQueryDeviceDescription(), IoTranslateBusAddress(), KdpSysReadBusData(), KdpSysReadIoSpace(), KdpSysWriteBusData(), KdpSysWriteIoSpace(), NdisOverrideBusNumber(), OslIsPciDevicePresent(), Pc98HwDetect(), PcHwDetect(), PciAllocateCmResourceList(), PciAllocateIoRequirementsList(), PciAssignSlotResources(), PciCacheLegacyDeviceRouting(), PciFindPdoByLocation(), PciIdeXFdoQueryInterface(), PciIsDebuggingDevice(), PciLocateKdDevices(), PciTranslateBusAddress(), RegistryInitAdapterKey(), ScsiPortGetBusDataByOffset(), SpiGetPciConfigData(), UefiHwDetect(), and XboxHwDetect().

◆ BusType

◆ DeviceObject

◆ DriverClassName

◆ DriverObject

◆ Irql

Definition at line 173 of file halfuncs.h.

◆ MBRTypeIdentifier

_In_ ULONG _In_ ULONG MBRTypeIdentifier

Definition at line 292 of file halfuncs.h.

Referenced by HalpXboxExamineMBR().

◆ NumberOfMapRegisters

◆ SectorSize

◆ SlotNumber