mirror of
https://github.com/reactos/reactos.git
synced 2024-10-20 16:06:27 +00:00
2c6077dc50
- Add glue code for supporting iso transfers - Remove dead from Handle - Remove broken asserts - Add support for string descriptors - Add support for class specific endpoint requests (Needs be ported to usbehci) - Link to usbd driver - Add support for retrieving string descriptor - Rewrite configuration descriptor handling in IUSBDevice. New code is smaller, smarter and handles a lot more cases. Needs to be ported to usbehci - Wrap usbdlib.h include in extern c macro, it has c linkage - Control transfers should now work - Need to implement support for isochronous / bulk / interrupt transfers until functional - Tested with Bluetooth USB Stick (multi function, interrupt / bulk / control / isochronous) / USB Microphone (isochronous & control) in XP SP3 svn path=/branches/usb-bringup/; revision=51900
35 lines
741 B
CMake
35 lines
741 B
CMake
|
|
set_cpp()
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
add_library(usbohci SHARED
|
|
usbohci.cpp
|
|
usb_device.cpp
|
|
usb_request.cpp
|
|
usb_queue.cpp
|
|
hcd_controller.cpp
|
|
hardware.cpp
|
|
misc.cpp
|
|
purecall.cpp
|
|
hub_controller.cpp
|
|
memory_manager.cpp
|
|
usbohci.rc)
|
|
|
|
target_link_libraries(usbohci
|
|
libcntpr
|
|
stlport
|
|
${PSEH_LIB})
|
|
|
|
if(MSVC)
|
|
set_target_properties(usbohci PROPERTIES COMPILE_FLAGS "/GR-")
|
|
else()
|
|
target_link_libraries(usbohci -lgcc)
|
|
set_target_properties(usbohci PROPERTIES COMPILE_FLAGS "-fno-exceptions -fno-rtti")
|
|
endif(MSVC)
|
|
|
|
set_module_type(usbohci kernelmodedriver)
|
|
add_importlibs(usbohci ntoskrnl ks drmk hal usbd)
|
|
|
|
add_cab_target(usbohci 2) |