1 /* 2 * PROJECT: ReactOS Generic CPU Driver 3 * LICENSE: GNU GPLv2 only as published by the Free Software Foundation 4 * FILE: drivers/processor/processr/processr.h 5 * PURPOSE: Common header file 6 * PROGRAMMERS: Eric Kohl <eric.kohl@reactos.org> 7 */ 8 9 #ifndef _PROCESSR_PCH_ 10 #define _PROCESSR_PCH_ 11 12 #include <ntddk.h> 13 14 typedef struct _DEVICE_EXTENSION 15 { 16 PDEVICE_OBJECT DeviceObject; 17 PDEVICE_OBJECT LowerDevice; 18 19 } DEVICE_EXTENSION, *PDEVICE_EXTENSION; 20 21 22 /* misc.c */ 23 24 NTSTATUS 25 NTAPI 26 ForwardIrpAndForget( 27 IN PDEVICE_OBJECT DeviceObject, 28 IN PIRP Irp); 29 30 31 /* pnp.c */ 32 33 NTSTATUS 34 NTAPI 35 ProcessorPnp( 36 IN PDEVICE_OBJECT DeviceObject, 37 IN PIRP Irp); 38 39 NTSTATUS 40 NTAPI 41 ProcessorAddDevice( 42 IN PDRIVER_OBJECT DriverObject, 43 IN PDEVICE_OBJECT Pdo); 44 45 #endif /* _PROCESSR_PCH_ */ 46