mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[USBHUB]
* Cleanup the main header. * Improve the GUIDs situation. CORE-7716 svn path=/trunk/; revision=61503
This commit is contained in:
parent
b7e055c129
commit
19b6ce21cd
5 changed files with 14 additions and 10 deletions
|
@ -3,7 +3,7 @@ add_definitions(-DDEBUG_MODE)
|
|||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
|
||||
|
||||
add_library(usbhub SHARED fdo.c misc.c pdo.c hub_fdo.c usbhub.c usbhub.rc)
|
||||
add_library(usbhub SHARED fdo.c misc.c pdo.c hub_fdo.c usbhub.c guid.c usbhub.rc)
|
||||
|
||||
target_link_libraries(usbhub ${PSEH_LIB})
|
||||
|
||||
|
|
|
@ -10,6 +10,8 @@
|
|||
|
||||
#include "usbhub.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
|
|
9
reactos/drivers/usb/usbhub/guid.c
Normal file
9
reactos/drivers/usb/usbhub/guid.c
Normal file
|
@ -0,0 +1,9 @@
|
|||
/* DO NOT USE THE PRECOMPILED HEADER FOR THIS FILE! */
|
||||
|
||||
#include <wdm.h>
|
||||
#include <initguid.h>
|
||||
#include <wdmguid.h>
|
||||
#include <hubbusif.h>
|
||||
#include <usbbusif.h>
|
||||
|
||||
/* NO CODE HERE, THIS IS JUST REQUIRED FOR THE GUID DEFINITIONS */
|
|
@ -11,6 +11,8 @@
|
|||
|
||||
#include "usbhub.h"
|
||||
|
||||
#include <wdmguid.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
|
|
|
@ -1,20 +1,11 @@
|
|||
#pragma once
|
||||
|
||||
#define INITGUID
|
||||
|
||||
#include <ntifs.h>
|
||||
#include <ntddk.h>
|
||||
#include <wdmguid.h>
|
||||
#include <hubbusif.h>
|
||||
#include <usbbusif.h>
|
||||
#include <usbioctl.h>
|
||||
#include <usb.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <usbdlib.h>
|
||||
|
||||
//BROKEN: #include <usbprotocoldefs.h>
|
||||
#include <pseh/pseh2.h>
|
||||
|
||||
#define USB_HUB_TAG 'hbsu'
|
||||
#define USB_MAXCHILDREN 127
|
||||
|
|
Loading…
Reference in a new issue