-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial start of the USB Debugger #165
Conversation
This PR shows "All checks have passed", though you comment that there are a lot of compilation errors. |
All checks are passed because CI/DI compile for Linux so the code is not enabled. |
Please try the new changes to win32_usb.cc. I compile with Visual Studio 2019 and do not get these errors, before the new changes or after. |
Most issues fixed, there is 1 warning left which looks suspicious: /instrument/stubs -O3 -Wall -Wno-format -mno-ms-bitfields -DWIN32 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES win32usb.cc -o win32usb.o |
Yep, sorry, that was a leftover from another project where I needed to make sure the string length was valid. It should be just fine here since all strings passed will be within range. |
Did anybody tested it ? |
Rebased to avoid conflict on configure script. Better to regenerate it after checkout. |
58ffb9b
to
e9f482d
Compare
7123020
to
42227b8
Compare
converting NULL to non-pointer type char[32] ISO C++ forbids converting a string constant to ‘char*’
This is the start of the Experimental USB Debugger (currently for the Windows platform only).
Currently only supports the UHCI and xHCI controllers. The remaining function of these two controllers and the two remaining controllers are in the works and will be added to when time allows.
The User.dbk has been updated with (temporary) html files at https://www.fysnet.net/bochs/user/index.html showing the process to invoke and use the USB debugger (Section 5.8).
In its completion, this debugger will allow you to view and modify most aspects of the specified USB controller. For example, currently you can view and modify a TRB listed in the xHCI's Command or Event Ring. Other aspects will be added.
I do not use and am not fluent in the use of
configure
,configure.ac
, and associated configuration files. I also don't use thegui/Makefile.in
file.Someone that is more fluent in the way these files work, please add the necessary items to successfully compile this PR.