1 /* 2 * PROJECT: ReactOS Generic CPU Driver 3 * LICENSE: GNU GPLv2 only as published by the Free Software Foundation 4 * FILE: drivers/processor/processr/misc.c 5 * PURPOSE: Misc routines 6 * PROGRAMMERS: Eric Kohl <eric.kohl@reactos.org> 7 */ 8 9 /* INCLUDES *******************************************************************/ 10 11 #include "processr.h" 12 13 #define NDEBUG 14 #include <debug.h> 15 16 /* FUNCTIONS ******************************************************************/ 17 18 NTSTATUS 19 NTAPI 20 ForwardIrpAndForget( 21 IN PDEVICE_OBJECT DeviceObject, 22 IN PIRP Irp) 23 { 24 PDEVICE_OBJECT LowerDevice; 25 26 LowerDevice = ((PDEVICE_EXTENSION)DeviceObject->DeviceExtension)->LowerDevice; 27 ASSERT(LowerDevice); 28 29 IoSkipCurrentIrpStackLocation(Irp); 30 return IoCallDriver(LowerDevice, Irp); 31 } 32 33 /* EOF */ 34