scsiport.sys: Add stub implementation of scsiport.sys.

This commit is contained in:
Christian Costa 2012-10-02 06:23:49 +02:00 committed by Alexandre Julliard
parent 84465b420b
commit ce44d1e506
5 changed files with 97 additions and 0 deletions

1
configure vendored
View File

@ -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

View File

@ -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)

View File

@ -0,0 +1,8 @@
MODULE = scsiport.sys
IMPORTS = ntoskrnl.exe
EXTRADLLFLAGS = -Wb,--subsystem,native
C_SRCS = \
scsiport.c
@MAKE_DLL_RULES@

View File

@ -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 <stdarg.h>
#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;
}

View File

@ -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