Skip to content

Commit 1dce437

Browse files
committed
[USBUHCI]
- Start implementing UHCI controller svn path=/trunk/; revision=55780
1 parent ddc66b9 commit 1dce437

15 files changed

+9217
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
2+
set_cpp()
3+
4+
remove_definitions(-D_WIN32_WINNT=0x502)
5+
add_definitions(-D_WIN32_WINNT=0x600)
6+
7+
add_library(usbuhci SHARED
8+
usbuhci.cpp
9+
usb_device.cpp
10+
usb_request.cpp
11+
usb_queue.cpp
12+
hcd_controller.cpp
13+
hardware.cpp
14+
misc.cpp
15+
purecall.cpp
16+
hub_controller.cpp
17+
memory_manager.cpp
18+
usbuhci.rc)
19+
20+
target_link_libraries(usbuhci
21+
libcntpr
22+
${PSEH_LIB})
23+
24+
if(MSVC)
25+
set_target_properties(usbuhci PROPERTIES COMPILE_FLAGS "/GR-")
26+
else()
27+
target_link_libraries(usbuhci -lgcc)
28+
set_target_properties(usbuhci PROPERTIES COMPILE_FLAGS "-fno-exceptions -fno-rtti")
29+
endif(MSVC)
30+
31+
set_module_type(usbuhci kernelmodedriver)
32+
add_importlibs(usbuhci ntoskrnl hal usbd)
33+
34+
add_cd_file(TARGET usbuhci DESTINATION reactos/system32/drivers NO_CAB FOR all)

0 commit comments

Comments
 (0)