Skip to content

Commit

Permalink
Debugging USB Stack
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkFire01 committed Sep 30, 2024
1 parent cdd3643 commit 29ab900
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 3 deletions.
4 changes: 2 additions & 2 deletions boot/bootdata/livecd.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ MinimalUI=Yes

[Operating Systems]
LiveCD="LiveCD"
LiveCD_Debug="LiveCD (Debug)"
LiveCD_Debug="LiveCD (Debug) Network"
LiveCD_Macpi="LiveCD ACPI SMP (Debug)"
LiveCD_Aacpi="LiveCD ACPI APIC (Debug)"
LiveCD_VBoxDebug="LiveCD (VBox Debug)"
Expand All @@ -23,7 +23,7 @@ Options=/FASTDETECT /MININT
[LiveCD_Debug]
BootType=Windows2003
SystemPath=\reactos
Options=/DEBUG /DEBUGPORT=COM1 /BAUDRATE=115200 /SOS /FASTDETECT /MININT
Options=/DEBUG /DEBUGPORT=NET /HOST_IP=10.0.0.175 /HOST_PORT=50000 /ENCRYPTION_KEY=make.reactos.great.again /W2003 /CPUFREQ=3000 /SOS /FASTDETECT /MININT

[LiveCD_Macpi]
BootType=Windows2003
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/usbport/endpoint.c
Original file line number Diff line number Diff line change
Expand Up @@ -1592,7 +1592,7 @@ USBPORT_DmaEndpointWorker(IN PUSBPORT_ENDPOINT Endpoint)
{
PDEVICE_OBJECT FdoDevice;
ULONG PrevState;
ULONG EndpointState;
ULONG EndpointState = 0;
BOOLEAN IsPaused = FALSE;

DPRINT_CORE("USBPORT_DmaEndpointWorker ... \n");
Expand Down
17 changes: 17 additions & 0 deletions modules/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,20 @@ endif()
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/optional/DroidSansFallback.ttf)
add_cd_file(FILE "${CMAKE_CURRENT_SOURCE_DIR}/optional/DroidSansFallback.ttf" DESTINATION reactos/Fonts FOR livecd)
endif()

## Slipstreaming drivers
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/drivers/)
file(GLOB_RECURSE EXTRA_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/drivers/ ${CMAKE_CURRENT_SOURCE_DIR}/drivers/*)
foreach(item ${EXTRA_FILES})
add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/drivers/${item} DESTINATION reactos/system32/drivers NAME_ON_CD ${item} FOR all)
endforeach(item)
endif()
##
## Slipstreaming drivers
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/system32/)
file(GLOB_RECURSE EXTRA_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/system32/ ${CMAKE_CURRENT_SOURCE_DIR}/system32/*)
foreach(item ${EXTRA_FILES})
add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/system32/${item} DESTINATION reactos/system32 NAME_ON_CD ${item} FOR all)
endforeach(item)
endif()
#
Binary file added modules/system32/kd_02_14e4.dll
Binary file not shown.
Binary file added modules/system32/kd_02_1969.dll
Binary file not shown.
Binary file added modules/system32/kd_02_8086.dll
Binary file not shown.
Binary file added modules/system32/kdnet.dll
Binary file not shown.
Binary file added modules/system32/kdstub.dll
Binary file not shown.
Binary file added modules/system32/wglgears.exe
Binary file not shown.

0 comments on commit 29ab900

Please sign in to comment.