mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[CMAKE]
- Add scsiport to build. svn path=/branches/cmake-bringup/; revision=48668
This commit is contained in:
parent
ea213941ac
commit
28f74e6701
4 changed files with 65 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
|
||||
add_subdirectory(base)
|
||||
add_subdirectory(input)
|
||||
add_subdirectory(storage)
|
||||
|
|
2
drivers/storage/CMakeLists.txt
Normal file
2
drivers/storage/CMakeLists.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
|
||||
add_subdirectory(scsiport)
|
13
drivers/storage/scsiport/CMakeLists.txt
Normal file
13
drivers/storage/scsiport/CMakeLists.txt
Normal file
|
@ -0,0 +1,13 @@
|
|||
|
||||
set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>")
|
||||
|
||||
add_library(scsiport SHARED scsiport.c stubs.c scsiport.rc)
|
||||
|
||||
set_target_properties(scsiport PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols" SUFFIX ".sys")
|
||||
|
||||
target_link_libraries(scsiport
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/scsiport_i386.def
|
||||
${REACTOS_SOURCE_DIR}/ntoskrnl/libntoskrnl.a
|
||||
${REACTOS_SOURCE_DIR}/hal/halx86/libhal.a)
|
||||
|
||||
add_dependencies(scsiport psdk bugcodes)
|
49
drivers/storage/scsiport/scsiport_i386.def
Normal file
49
drivers/storage/scsiport/scsiport_i386.def
Normal file
|
@ -0,0 +1,49 @@
|
|||
|
||||
LIBRARY scsiport.sys
|
||||
|
||||
EXPORTS
|
||||
ScsiDebugPrint @1
|
||||
ScsiPortCompleteRequest@20 @2
|
||||
ScsiPortConvertPhysicalAddressToUlong@8 @3
|
||||
ScsiPortConvertUlongToPhysicalAddress@4=NTOSKRNL.RtlConvertUlongToLargeInteger @4
|
||||
ScsiPortFlushDma@4 @5
|
||||
ScsiPortFreeDeviceBase@8 @6
|
||||
ScsiPortGetBusData@24 @7
|
||||
ScsiPortGetDeviceBase@28 @8
|
||||
ScsiPortGetLogicalUnit@16 @9
|
||||
ScsiPortGetPhysicalAddress@16 @10
|
||||
ScsiPortGetSrb@20 @11
|
||||
ScsiPortGetUncachedExtension@12 @12
|
||||
ScsiPortGetVirtualAddress@12 @13
|
||||
ScsiPortInitialize@16 @14
|
||||
ScsiPortIoMapTransfer@16 @15
|
||||
ScsiPortLogError@28 @16
|
||||
ScsiPortMoveMemory@12 @17
|
||||
ScsiPortNotification @18
|
||||
ScsiPortReadPortBufferUchar@12=HAL.READ_PORT_BUFFER_UCHAR @19
|
||||
ScsiPortReadPortBufferUshort@12=HAL.READ_PORT_BUFFER_USHORT @20
|
||||
ScsiPortReadPortBufferUlong@12=HAL.READ_PORT_BUFFER_ULONG @21
|
||||
ScsiPortReadPortUchar@4=HAL.READ_PORT_UCHAR @22
|
||||
ScsiPortReadPortUshort@4=HAL.READ_PORT_USHORT @23
|
||||
ScsiPortReadPortUlong@4=HAL.READ_PORT_ULONG @24
|
||||
ScsiPortReadRegisterBufferUchar@12=NTOSKRNL.READ_REGISTER_BUFFER_UCHAR @25
|
||||
ScsiPortReadRegisterBufferUshort@12=NTOSKRNL.READ_REGISTER_BUFFER_USHORT @26
|
||||
ScsiPortReadRegisterBufferUlong@12=NTOSKRNL.READ_REGISTER_BUFFER_ULONG @27
|
||||
ScsiPortReadRegisterUchar@4=NTOSKRNL.READ_REGISTER_UCHAR @28
|
||||
ScsiPortReadRegisterUshort@4=NTOSKRNL.READ_REGISTER_USHORT @29
|
||||
ScsiPortReadRegisterUlong@4=NTOSKRNL.READ_REGISTER_ULONG @30
|
||||
ScsiPortSetBusDataByOffset@28 @31
|
||||
ScsiPortStallExecution@4=HAL.KeStallExecutionProcessor @32
|
||||
ScsiPortValidateRange@28 @33
|
||||
ScsiPortWritePortBufferUchar@12=HAL.WRITE_PORT_BUFFER_UCHAR @34
|
||||
ScsiPortWritePortBufferUshort@12=HAL.WRITE_PORT_BUFFER_USHORT @35
|
||||
ScsiPortWritePortBufferUlong@12=HAL.WRITE_PORT_BUFFER_ULONG @36
|
||||
ScsiPortWritePortUchar@8=HAL.WRITE_PORT_UCHAR @37
|
||||
ScsiPortWritePortUshort@8=HAL.WRITE_PORT_USHORT @38
|
||||
ScsiPortWritePortUlong@8=HAL.WRITE_PORT_ULONG @39
|
||||
ScsiPortWriteRegisterBufferUchar@12=NTOSKRNL.WRITE_REGISTER_BUFFER_UCHAR @40
|
||||
ScsiPortWriteRegisterBufferUshort@12=NTOSKRNL.WRITE_REGISTER_BUFFER_USHORT @41
|
||||
ScsiPortWriteRegisterBufferUlong@12=NTOSKRNL.WRITE_REGISTER_BUFFER_ULONG @42
|
||||
ScsiPortWriteRegisterUchar@8=NTOSKRNL.WRITE_REGISTER_UCHAR @43
|
||||
ScsiPortWriteRegisterUshort@8=NTOSKRNL.WRITE_REGISTER_USHORT @44
|
||||
ScsiPortWriteRegisterUlong@8=NTOSKRNL.WRITE_REGISTER_ULONG @45
|
Loading…
Reference in a new issue