Author: akhaldi
Date: Tue Aug 31 17:55:28 2010
New Revision: 48668
URL:
http://svn.reactos.org/svn/reactos?rev=48668&view=rev
Log:
[CMAKE]
- Add scsiport to build.
Added:
branches/cmake-bringup/drivers/storage/CMakeLists.txt (with props)
branches/cmake-bringup/drivers/storage/scsiport/CMakeLists.txt (with props)
branches/cmake-bringup/drivers/storage/scsiport/scsiport_i386.def (with props)
Modified:
branches/cmake-bringup/drivers/CMakeLists.txt
Modified: branches/cmake-bringup/drivers/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/CMakeList…
==============================================================================
--- branches/cmake-bringup/drivers/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/drivers/CMakeLists.txt [iso-8859-1] Tue Aug 31 17:55:28 2010
@@ -1,3 +1,4 @@
add_subdirectory(base)
add_subdirectory(input)
+add_subdirectory(storage)
Added: branches/cmake-bringup/drivers/storage/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/storage/C…
==============================================================================
--- branches/cmake-bringup/drivers/storage/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/storage/CMakeLists.txt [iso-8859-1] Tue Aug 31 17:55:28
2010
@@ -1,0 +1,2 @@
+
+add_subdirectory(scsiport)
Propchange: branches/cmake-bringup/drivers/storage/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/drivers/storage/scsiport/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/storage/s…
==============================================================================
--- branches/cmake-bringup/drivers/storage/scsiport/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/storage/scsiport/CMakeLists.txt [iso-8859-1] Tue Aug 31
17:55:28 2010
@@ -1,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)
Propchange: branches/cmake-bringup/drivers/storage/scsiport/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/drivers/storage/scsiport/scsiport_i386.def
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/storage/s…
==============================================================================
--- branches/cmake-bringup/drivers/storage/scsiport/scsiport_i386.def (added)
+++ branches/cmake-bringup/drivers/storage/scsiport/scsiport_i386.def [iso-8859-1] Tue Aug
31 17:55:28 2010
@@ -1,0 +1,49 @@
+
+LIBRARY scsiport.sys
+
+EXPORTS
+ ScsiDebugPrint @1
+ ScsiPortCompleteRequest@20 @2
+ ScsiPortConvertPhysicalAddressToUlong@8 @3
+ ScsiPortConvertUlongToPhysicalAddress(a)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(a)12=HAL.READ_PORT_BUFFER_UCHAR @19
+ ScsiPortReadPortBufferUshort(a)12=HAL.READ_PORT_BUFFER_USHORT @20
+ ScsiPortReadPortBufferUlong(a)12=HAL.READ_PORT_BUFFER_ULONG @21
+ ScsiPortReadPortUchar(a)4=HAL.READ_PORT_UCHAR @22
+ ScsiPortReadPortUshort(a)4=HAL.READ_PORT_USHORT @23
+ ScsiPortReadPortUlong(a)4=HAL.READ_PORT_ULONG @24
+ ScsiPortReadRegisterBufferUchar(a)12=NTOSKRNL.READ_REGISTER_BUFFER_UCHAR @25
+ ScsiPortReadRegisterBufferUshort(a)12=NTOSKRNL.READ_REGISTER_BUFFER_USHORT @26
+ ScsiPortReadRegisterBufferUlong(a)12=NTOSKRNL.READ_REGISTER_BUFFER_ULONG @27
+ ScsiPortReadRegisterUchar(a)4=NTOSKRNL.READ_REGISTER_UCHAR @28
+ ScsiPortReadRegisterUshort(a)4=NTOSKRNL.READ_REGISTER_USHORT @29
+ ScsiPortReadRegisterUlong(a)4=NTOSKRNL.READ_REGISTER_ULONG @30
+ ScsiPortSetBusDataByOffset@28 @31
+ ScsiPortStallExecution(a)4=HAL.KeStallExecutionProcessor @32
+ ScsiPortValidateRange@28 @33
+ ScsiPortWritePortBufferUchar(a)12=HAL.WRITE_PORT_BUFFER_UCHAR @34
+ ScsiPortWritePortBufferUshort(a)12=HAL.WRITE_PORT_BUFFER_USHORT @35
+ ScsiPortWritePortBufferUlong(a)12=HAL.WRITE_PORT_BUFFER_ULONG @36
+ ScsiPortWritePortUchar(a)8=HAL.WRITE_PORT_UCHAR @37
+ ScsiPortWritePortUshort(a)8=HAL.WRITE_PORT_USHORT @38
+ ScsiPortWritePortUlong(a)8=HAL.WRITE_PORT_ULONG @39
+ ScsiPortWriteRegisterBufferUchar(a)12=NTOSKRNL.WRITE_REGISTER_BUFFER_UCHAR @40
+ ScsiPortWriteRegisterBufferUshort(a)12=NTOSKRNL.WRITE_REGISTER_BUFFER_USHORT @41
+ ScsiPortWriteRegisterBufferUlong(a)12=NTOSKRNL.WRITE_REGISTER_BUFFER_ULONG @42
+ ScsiPortWriteRegisterUchar(a)8=NTOSKRNL.WRITE_REGISTER_UCHAR @43
+ ScsiPortWriteRegisterUshort(a)8=NTOSKRNL.WRITE_REGISTER_USHORT @44
+ ScsiPortWriteRegisterUlong(a)8=NTOSKRNL.WRITE_REGISTER_ULONG @45
Propchange: branches/cmake-bringup/drivers/storage/scsiport/scsiport_i386.def
------------------------------------------------------------------------------
svn:eol-style = native