1 /* 2 * PROJECT: ReactOS HAL 3 * LICENSE: BSD - See COPYING.ARM in the top level directory 4 * FILE: hal/halarm/generic/bus.c 5 * PURPOSE: Bus Support Routines 6 * PROGRAMMERS: ReactOS Portable Systems Group 7 */ 8 9 /* INCLUDES *******************************************************************/ 10 11 #include <hal.h> 12 #define NDEBUG 13 #include <debug.h> 14 15 /* GLOBALS ********************************************************************/ 16 17 /* PRIVATE FUNCTIONS **********************************************************/ 18 19 /* PUBLIC FUNCTIONS ***********************************************************/ 20 21 /* 22 * @unimplemented 23 */ 24 NTSTATUS 25 NTAPI 26 HalAdjustResourceList(IN PIO_RESOURCE_REQUIREMENTS_LIST *ResourceList) 27 { 28 UNIMPLEMENTED; 29 while (TRUE); 30 return STATUS_SUCCESS; 31 } 32 33 /* 34 * @unimplemented 35 */ 36 NTSTATUS 37 NTAPI 38 HalAssignSlotResources(IN PUNICODE_STRING RegistryPath, 39 IN PUNICODE_STRING DriverClassName, 40 IN PDRIVER_OBJECT DriverObject, 41 IN PDEVICE_OBJECT DeviceObject, 42 IN INTERFACE_TYPE BusType, 43 IN ULONG BusNumber, 44 IN ULONG SlotNumber, 45 IN OUT PCM_RESOURCE_LIST *AllocatedResources) 46 { 47 UNIMPLEMENTED; 48 while (TRUE); 49 return STATUS_SUCCESS; 50 } 51 52 /* 53 * @unimplemented 54 */ 55 ULONG 56 NTAPI 57 HalGetBusData(IN BUS_DATA_TYPE BusDataType, 58 IN ULONG BusNumber, 59 IN ULONG SlotNumber, 60 IN PVOID Buffer, 61 IN ULONG Length) 62 { 63 UNIMPLEMENTED; 64 while (TRUE); 65 return 0; 66 } 67 68 /* 69 * @unimplemented 70 */ 71 ULONG 72 NTAPI 73 HalGetBusDataByOffset(IN BUS_DATA_TYPE BusDataType, 74 IN ULONG BusNumber, 75 IN ULONG SlotNumber, 76 IN PVOID Buffer, 77 IN ULONG Offset, 78 IN ULONG Length) 79 { 80 UNIMPLEMENTED; 81 while (TRUE); 82 return 0; 83 } 84 85 /* 86 * @unimplemented 87 */ 88 ULONG 89 NTAPI 90 HalGetInterruptVector(IN INTERFACE_TYPE InterfaceType, 91 IN ULONG BusNumber, 92 IN ULONG BusInterruptLevel, 93 IN ULONG BusInterruptVector, 94 OUT PKIRQL Irql, 95 OUT PKAFFINITY Affinity) 96 { 97 UNIMPLEMENTED; 98 while (TRUE); 99 return 0; 100 } 101 102 /* 103 * @unimplemented 104 */ 105 ULONG 106 NTAPI 107 HalSetBusData(IN BUS_DATA_TYPE BusDataType, 108 IN ULONG BusNumber, 109 IN ULONG SlotNumber, 110 IN PVOID Buffer, 111 IN ULONG Length) 112 { 113 UNIMPLEMENTED; 114 while (TRUE); 115 return 0; 116 } 117 118 /* 119 * @unimplemented 120 */ 121 ULONG 122 NTAPI 123 HalSetBusDataByOffset(IN BUS_DATA_TYPE BusDataType, 124 IN ULONG BusNumber, 125 IN ULONG SlotNumber, 126 IN PVOID Buffer, 127 IN ULONG Offset, 128 IN ULONG Length) 129 { 130 UNIMPLEMENTED; 131 while (TRUE); 132 return 0; 133 } 134 135 /* 136 * @unimplemented 137 */ 138 BOOLEAN 139 NTAPI 140 HalTranslateBusAddress(IN INTERFACE_TYPE InterfaceType, 141 IN ULONG BusNumber, 142 IN PHYSICAL_ADDRESS BusAddress, 143 IN OUT PULONG AddressSpace, 144 OUT PPHYSICAL_ADDRESS TranslatedAddress) 145 { 146 UNIMPLEMENTED; 147 while (TRUE); 148 return 0; 149 } 150 151 /* EOF */ 152