Copy wininet to branch
[reactos.git] / reactos / ntoskrnl / io / xhaldisp.c
1 /* $Id$
2 *
3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS kernel
5 * FILE: ntoskrnl/io/xhaldisp.c
6 * PURPOSE: Hal dispatch tables
7 *
8 * PROGRAMMERS: Eric Kohl (ekohl@rz-online.de)
9 */
10
11 /* INCLUDES *****************************************************************/
12
13 #include <ntoskrnl.h>
14 #define NDEBUG
15 #include <internal/debug.h>
16
17
18 /* DATA **********************************************************************/
19
20
21 HAL_DISPATCH EXPORTED HalDispatchTable =
22 {
23 HAL_DISPATCH_VERSION,
24 (pHalQuerySystemInformation) NULL, // HalQuerySystemInformation
25 (pHalSetSystemInformation) NULL, // HalSetSystemInformation
26 (pHalQueryBusSlots) NULL, // HalQueryBusSlots
27 0,
28 (pHalExamineMBR) xHalExamineMBR,
29 (pHalIoAssignDriveLetters) xHalIoAssignDriveLetters,
30 (pHalIoReadPartitionTable) xHalIoReadPartitionTable,
31 (pHalIoSetPartitionInformation) xHalIoSetPartitionInformation,
32 (pHalIoWritePartitionTable) xHalIoWritePartitionTable,
33 (pHalHandlerForBus) NULL, // HalReferenceHandlerForBus
34 (pHalReferenceBusHandler) NULL, // HalReferenceBusHandler
35 (pHalReferenceBusHandler) NULL, // HalDereferenceBusHandler
36 (pHalInitPnpDriver) NULL, //HalInitPnpDriver;
37 (pHalInitPowerManagement) NULL, //HalInitPowerManagement;
38 (pHalGetDmaAdapter) NULL, //HalGetDmaAdapter;
39 (pHalGetInterruptTranslator) NULL, //HalGetInterruptTranslator;
40 (pHalStartMirroring) NULL, //HalStartMirroring;
41 (pHalEndMirroring) NULL, //HalEndMirroring;
42 (pHalMirrorPhysicalMemory) NULL, //HalMirrorPhysicalMemory;
43 (pHalEndOfBoot) NULL, //HalEndOfBoot;
44 (pHalMirrorVerify) NULL //HalMirrorVerify;
45 };
46
47
48 HAL_PRIVATE_DISPATCH EXPORTED HalPrivateDispatchTable =
49 {
50 HAL_PRIVATE_DISPATCH_VERSION
51 // HalHandlerForBus
52 // HalHandlerForConfigSpace
53 // HalCompleteDeviceControl
54 // HalRegisterBusHandler
55 // ??
56 // ??
57 // ??
58 // ??
59 // ??
60 };
61
62 /*
63 * @unimplemented
64 *
65 STDCALL
66 VOID
67 IoAssignDriveLetters(
68 IN PLOADER_PARAMETER_BLOCK LoaderBlock,
69 IN PSTRING NtDeviceName,
70 OUT PUCHAR NtSystemPath,
71 OUT PSTRING NtSystemPathString
72 )
73 {
74 UNIMPLEMENTED;
75 */
76
77 /*
78 * @unimplemented
79 */
80 NTSTATUS
81 STDCALL
82 IoCreateDisk(
83 IN PDEVICE_OBJECT DeviceObject,
84 IN struct _CREATE_DISK* Disk
85 )
86 {
87 UNIMPLEMENTED;
88 return STATUS_NOT_IMPLEMENTED;
89 }
90
91 /*
92 * @unimplemented
93 */
94 NTSTATUS
95 STDCALL
96 IoGetBootDiskInformation(
97 IN OUT PBOOTDISK_INFORMATION BootDiskInformation,
98 IN ULONG Size
99 )
100 {
101 UNIMPLEMENTED;
102 return STATUS_NOT_IMPLEMENTED;
103 }
104
105
106 /*
107 * @unimplemented
108 */
109 NTSTATUS
110 STDCALL
111 IoReadDiskSignature(
112 IN PDEVICE_OBJECT DeviceObject,
113 IN ULONG BytesPerSector,
114 OUT PDISK_SIGNATURE Signature
115 )
116 {
117 UNIMPLEMENTED;
118 return STATUS_NOT_IMPLEMENTED;
119 }
120
121 /*
122 * @unimplemented
123 */
124 NTSTATUS
125 STDCALL
126 IoReadPartitionTableEx(
127 IN PDEVICE_OBJECT DeviceObject,
128 IN struct _DRIVE_LAYOUT_INFORMATION_EX** DriveLayout
129 )
130 {
131 UNIMPLEMENTED;
132 return STATUS_NOT_IMPLEMENTED;
133 }
134
135 /*
136 * @unimplemented
137 */
138 NTSTATUS
139 STDCALL
140 IoSetPartitionInformationEx(
141 IN PDEVICE_OBJECT DeviceObject,
142 IN ULONG PartitionNumber,
143 IN struct _SET_PARTITION_INFORMATION_EX* PartitionInfo
144 )
145 {
146 UNIMPLEMENTED;
147 return STATUS_NOT_IMPLEMENTED;
148 }
149
150 /*
151 * @unimplemented
152 */
153 NTSTATUS
154 STDCALL
155 IoSetSystemPartition(
156 PUNICODE_STRING VolumeNameString
157 )
158 {
159 UNIMPLEMENTED;
160 return STATUS_NOT_IMPLEMENTED;
161 }
162
163 /*
164 * @unimplemented
165 */
166 NTSTATUS
167 STDCALL
168 IoVerifyPartitionTable(
169 IN PDEVICE_OBJECT DeviceObject,
170 IN BOOLEAN FixErrors
171 )
172 {
173 UNIMPLEMENTED;
174 return STATUS_NOT_IMPLEMENTED;
175 }
176
177 /*
178 * @unimplemented
179 */
180 NTSTATUS
181 STDCALL
182 IoVolumeDeviceToDosName(
183 IN PVOID VolumeDeviceObject,
184 OUT PUNICODE_STRING DosName
185 )
186 {
187 UNIMPLEMENTED;
188 return STATUS_NOT_IMPLEMENTED;
189 }
190
191 /*
192 * @unimplemented
193 */
194 NTSTATUS
195 STDCALL
196 IoWritePartitionTableEx(
197 IN PDEVICE_OBJECT DeviceObject,
198 IN struct _DRIVE_LAYOUT_INFORMATION_EX* DriveLayfout
199 )
200 {
201 UNIMPLEMENTED;
202 return STATUS_NOT_IMPLEMENTED;
203 }
204
205 /* EOF */