From ce44d1e506dd647f55366932a4215d182391b96a Mon Sep 17 00:00:00 2001 From: Christian Costa Date: Tue, 2 Oct 2012 06:23:49 +0200 Subject: [PATCH] scsiport.sys: Add stub implementation of scsiport.sys. --- configure | 1 + configure.ac | 1 + dlls/scsiport.sys/Makefile.in | 8 +++++ dlls/scsiport.sys/scsiport.c | 39 +++++++++++++++++++++++ dlls/scsiport.sys/scsiport.sys.spec | 48 +++++++++++++++++++++++++++++ 5 files changed, 97 insertions(+) create mode 100644 dlls/scsiport.sys/Makefile.in create mode 100644 dlls/scsiport.sys/scsiport.c create mode 100644 dlls/scsiport.sys/scsiport.sys.spec diff --git a/configure b/configure index 2be377a96a9..d18cc0e823c 100755 --- a/configure +++ b/configure @@ -15663,6 +15663,7 @@ wine_fn_config_dll schannel enable_schannel wine_fn_config_test dlls/schannel/tests schannel_test wine_fn_config_dll scrrun enable_scrrun wine_fn_config_test dlls/scrrun/tests scrrun_test +wine_fn_config_dll scsiport.sys enable_scsiport_sys wine_fn_config_dll secur32 enable_secur32 implib wine_fn_config_test dlls/secur32/tests secur32_test wine_fn_config_dll security enable_security diff --git a/configure.ac b/configure.ac index eb57696d7c6..5c7e9a2dfe2 100644 --- a/configure.ac +++ b/configure.ac @@ -2936,6 +2936,7 @@ WINE_CONFIG_DLL(schannel) WINE_CONFIG_TEST(dlls/schannel/tests) WINE_CONFIG_DLL(scrrun) WINE_CONFIG_TEST(dlls/scrrun/tests) +WINE_CONFIG_DLL(scsiport.sys) WINE_CONFIG_DLL(secur32,,[implib]) WINE_CONFIG_TEST(dlls/secur32/tests) WINE_CONFIG_DLL(security) diff --git a/dlls/scsiport.sys/Makefile.in b/dlls/scsiport.sys/Makefile.in new file mode 100644 index 00000000000..40c3b62329d --- /dev/null +++ b/dlls/scsiport.sys/Makefile.in @@ -0,0 +1,8 @@ +MODULE = scsiport.sys +IMPORTS = ntoskrnl.exe +EXTRADLLFLAGS = -Wb,--subsystem,native + +C_SRCS = \ + scsiport.c + +@MAKE_DLL_RULES@ diff --git a/dlls/scsiport.sys/scsiport.c b/dlls/scsiport.sys/scsiport.c new file mode 100644 index 00000000000..f689153fd6e --- /dev/null +++ b/dlls/scsiport.sys/scsiport.c @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2012 Christian Costa + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include + +#define NONAMELESSUNION +#define NONAMELESSSTRUCT + +#include "ntstatus.h" +#define WIN32_NO_STATUS +#include "windef.h" +#include "winbase.h" +#include "winternl.h" +#include "ddk/wdm.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(scsiport); + +NTSTATUS WINAPI DriverEntry(DRIVER_OBJECT *driver, UNICODE_STRING *path) +{ + TRACE("(%p, %s)\n", driver, debugstr_w(path->Buffer)); + + return STATUS_SUCCESS; +} diff --git a/dlls/scsiport.sys/scsiport.sys.spec b/dlls/scsiport.sys/scsiport.sys.spec new file mode 100644 index 00000000000..55a373e7a37 --- /dev/null +++ b/dlls/scsiport.sys/scsiport.sys.spec @@ -0,0 +1,48 @@ +@ stub DllInitialize +@ stub PortNotification +@ stub ScsiDebugPrint +@ stub ScsiPortCompleteRequest +@ stub ScsiPortConvertPhysicalAddressToUlong +@ stub ScsiPortConvertUlongToPhysicalAddress +@ stub ScsiPortFlushDma +@ stub ScsiPortFreeDeviceBase +@ stub ScsiPortGetBusData +@ stub ScsiPortGetDeviceBase +@ stub ScsiPortGetLogicalUnit +@ stub ScsiPortGetPhysicalAddress +@ stub ScsiPortGetSrb +@ stub ScsiPortGetUncachedExtension +@ stub ScsiPortGetVirtualAddress +@ stub ScsiPortInitialize +@ stub ScsiPortIoMapTransfer +@ stub ScsiPortLogError +@ stub ScsiPortMoveMemory +@ stub ScsiPortNotification +@ stub ScsiPortQuerySystemTime +@ stub ScsiPortReadPortBufferUchar +@ stub ScsiPortReadPortBufferUlong +@ stub ScsiPortReadPortBufferUshort +@ stub ScsiPortReadPortUchar +@ stub ScsiPortReadPortUlong +@ stub ScsiPortReadPortUshort +@ stub ScsiPortReadRegisterBufferUchar +@ stub ScsiPortReadRegisterBufferUlong +@ stub ScsiPortReadRegisterBufferUshort +@ stub ScsiPortReadRegisterUchar +@ stub ScsiPortReadRegisterUlong +@ stub ScsiPortReadRegisterUshort +@ stub ScsiPortSetBusDataByOffset +@ stub ScsiPortStallExecution +@ stub ScsiPortValidateRange +@ stub ScsiPortWritePortBufferUchar +@ stub ScsiPortWritePortBufferUlong +@ stub ScsiPortWritePortBufferUshort +@ stub ScsiPortWritePortUchar +@ stub ScsiPortWritePortUlong +@ stub ScsiPortWritePortUshort +@ stub ScsiPortWriteRegisterBufferUchar +@ stub ScsiPortWriteRegisterBufferUlong +@ stub ScsiPortWriteRegisterBufferUshort +@ stub ScsiPortWriteRegisterUchar +@ stub ScsiPortWriteRegisterUlong +@ stub ScsiPortWriteRegisterUshort