2011-04-14 11:35:16 +00:00
|
|
|
|
|
|
|
set_cpp()
|
|
|
|
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
|
|
|
add_library(usbehci SHARED
|
|
|
|
usbehci.cpp
|
[USBEHCI_NEW]
- Fix bug in CDMAMemoryManager initialization, which calculated the bitmap length wrong
- Create interface IUSBDevice, which will be used to abstract connected usb devices
- Implement support functions for the device interface.
- Implement USBHI_CreateUsbDevice, USBHI_InitializeUsbDevice, USBHI_GetUsbDescriptors, USBHI_RemoveUsbDevice, USBHI_GetExtendedHubInformation, USBHI_RootHubInitNotification, USBHI_SetDeviceHandleData, USBDI_GetUSBDIVersion, USBDI_IsDeviceHighSpeed
- Partly implement USBHI_QueryDeviceInformation
- Based on mjmartin usbehci
svn path=/branches/usb-bringup/; revision=51372
2011-04-17 08:20:40 +00:00
|
|
|
usb_device.cpp
|
2011-04-19 01:21:10 +00:00
|
|
|
usb_request.cpp
|
2011-04-17 22:06:20 +00:00
|
|
|
usb_queue.cpp
|
2011-04-14 11:35:16 +00:00
|
|
|
hcd_controller.cpp
|
|
|
|
hardware.cpp
|
2011-04-14 16:42:02 +00:00
|
|
|
misc.cpp
|
2011-04-15 14:13:24 +00:00
|
|
|
purecall.cpp
|
2011-04-15 17:57:24 +00:00
|
|
|
hub_controller.cpp
|
2011-04-16 12:26:06 +00:00
|
|
|
memory_manager.cpp
|
2011-04-14 11:35:16 +00:00
|
|
|
usbehci.rc)
|
|
|
|
|
|
|
|
target_link_libraries(usbehci
|
|
|
|
libcntpr
|
|
|
|
stlport
|
|
|
|
${PSEH_LIB})
|
|
|
|
|
|
|
|
if(MSVC)
|
|
|
|
set_target_properties(usbehci PROPERTIES COMPILE_FLAGS "/GR-")
|
|
|
|
else()
|
|
|
|
target_link_libraries(usbehci -lgcc)
|
|
|
|
set_target_properties(usbehci PROPERTIES COMPILE_FLAGS "-fno-exceptions -fno-rtti")
|
|
|
|
endif(MSVC)
|
|
|
|
|
|
|
|
set_module_type(usbehci kernelmodedriver)
|
|
|
|
add_importlibs(usbehci ntoskrnl ks drmk hal)
|
|
|
|
|
|
|
|
add_cab_target(usbehci 2)
|