Synchronize with trunk revision 59636 (just before Alex's CreateProcess revamp).
[reactos.git] / drivers / bus / pcix / intrface / busintrf.c
1 /*
2 * PROJECT: ReactOS PCI Bus Driver
3 * LICENSE: BSD - See COPYING.ARM in the top level directory
4 * FILE: drivers/bus/pci/intrface/busintrf.c
5 * PURPOSE: Bus Interface
6 * PROGRAMMERS: ReactOS Portable Systems Group
7 */
8
9 /* INCLUDES *******************************************************************/
10
11 #include <pci.h>
12 #define NDEBUG
13 #include <debug.h>
14
15 /* GLOBALS ********************************************************************/
16
17 PCI_INTERFACE BusHandlerInterface =
18 {
19 &GUID_BUS_INTERFACE_STANDARD,
20 sizeof(BUS_INTERFACE_STANDARD),
21 1,
22 1,
23 PCI_INTERFACE_PDO,
24 0,
25 PciInterface_BusHandler,
26 busintrf_Constructor,
27 busintrf_Initializer
28 };
29
30 /* FUNCTIONS ******************************************************************/
31
32 NTSTATUS
33 NTAPI
34 busintrf_Initializer(IN PVOID Instance)
35 {
36 UNREFERENCED_PARAMETER(Instance);
37 /* PnP Interfaces don't get Initialized */
38 ASSERTMSG("PCI busintrf_Initializer, unexpected call.", FALSE);
39 return STATUS_UNSUCCESSFUL;
40 }
41
42 NTSTATUS
43 NTAPI
44 busintrf_Constructor(IN PVOID DeviceExtension,
45 IN PVOID Instance,
46 IN PVOID InterfaceData,
47 IN USHORT Version,
48 IN USHORT Size,
49 IN PINTERFACE Interface)
50 {
51 UNREFERENCED_PARAMETER(DeviceExtension);
52 UNREFERENCED_PARAMETER(Instance);
53 UNREFERENCED_PARAMETER(InterfaceData);
54 UNREFERENCED_PARAMETER(Version);
55 UNREFERENCED_PARAMETER(Size);
56 UNREFERENCED_PARAMETER(Interface);
57
58 /* Not yet implemented */
59 UNIMPLEMENTED_DBGBREAK();
60 return STATUS_NOT_IMPLEMENTED;
61 }
62
63 /* EOF */