ReactOS  0.4.14-dev-317-g96040ec
isa.c File Reference
#include <hal.h>
#include <debug.h>
Include dependency graph for isa.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

BOOLEAN HalIsaProbe (VOID)
 
BOOLEAN NTAPI HalpTranslateIsaBusAddress (PBUS_HANDLER BusHandler, ULONG BusNumber, PHYSICAL_ADDRESS BusAddress, PULONG AddressSpace, PPHYSICAL_ADDRESS TranslatedAddress)
 
ULONG NTAPI HalpGetIsaInterruptVector (PVOID BusHandler, ULONG BusNumber, ULONG BusInterruptLevel, ULONG BusInterruptVector, PKIRQL Irql, PKAFFINITY Affinity)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 14 of file isa.c.

Function Documentation

◆ HalIsaProbe()

BOOLEAN HalIsaProbe ( VOID  )

Definition at line 19 of file isa.c.

26 {
27  DbgPrint("Assuming ISA bus\n");
28 
29  /*
30  * Probe for plug and play support
31  */
32  return(TRUE);
33 }
#define TRUE
Definition: types.h:120
#define DbgPrint
Definition: loader.c:25

◆ HalpGetIsaInterruptVector()

ULONG NTAPI HalpGetIsaInterruptVector ( PVOID  BusHandler,
ULONG  BusNumber,
ULONG  BusInterruptLevel,
ULONG  BusInterruptVector,
PKIRQL  Irql,
PKAFFINITY  Affinity 
)

Definition at line 62 of file isa.c.

68 {
71  *Affinity = 0xFFFFFFFF;
72  return Vector;
73 }
_In_ ULONG _In_ ULONG _In_ ULONG BusInterruptVector
Definition: halfuncs.h:170
_Out_ PKIRQL Irql
Definition: csq.h:179
#define VECTOR2IRQL(vector)
Definition: halirq.h:26
_In_ ULONG _In_ ULONG _In_ ULONG _Out_ PKIRQL _Out_ PKAFFINITY Affinity
Definition: halfuncs.h:170
_In_ PKSERVICE_ROUTINE _In_opt_ PVOID _In_opt_ PKSPIN_LOCK _In_ ULONG Vector
Definition: iofuncs.h:798
unsigned int ULONG
Definition: retypes.h:1
#define IRQ2VECTOR(irq)
Definition: halirq.h:27

◆ HalpTranslateIsaBusAddress()

BOOLEAN NTAPI HalpTranslateIsaBusAddress ( PBUS_HANDLER  BusHandler,
ULONG  BusNumber,
PHYSICAL_ADDRESS  BusAddress,
PULONG  AddressSpace,
PPHYSICAL_ADDRESS  TranslatedAddress 
)

Definition at line 37 of file isa.c.

42 {
44 
46  BusNumber,
47  BusAddress,
50  if (Result != FALSE)
51  return Result;
52 
54  BusNumber,
55  BusAddress,
58  return Result;
59 }
_In_ ULONG _In_ PHYSICAL_ADDRESS BusAddress
Definition: iofuncs.h:2268
_In_ ULONG _In_ PHYSICAL_ADDRESS _Inout_ PULONG AddressSpace
Definition: iofuncs.h:2268
_In_ ULONG _In_ PHYSICAL_ADDRESS _Inout_ PULONG _Out_ PPHYSICAL_ADDRESS TranslatedAddress
Definition: iofuncs.h:2268
unsigned char BOOLEAN
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO
Definition: wsk.h:426
_In_opt_ PUNICODE_STRING _In_ PDRIVER_OBJECT _In_ PDEVICE_OBJECT _In_ INTERFACE_TYPE _In_ ULONG BusNumber
Definition: halfuncs.h:156
BOOLEAN NTAPI HalTranslateBusAddress(IN INTERFACE_TYPE InterfaceType, IN ULONG BusNumber, IN PHYSICAL_ADDRESS BusAddress, IN OUT PULONG AddressSpace, OUT PPHYSICAL_ADDRESS TranslatedAddress)
Definition: bus.c:140

Referenced by HalpRegisterInternalBusHandlers().