557976bee1
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 the `gui/Makefile.in` file. Someone that is more fluent in the way these files work, please add the necessary items to successfully compile this PR. --------- Co-authored-by: Shwartsman <stanislav.shwartsman@intel.com>
40 lines
1.0 KiB
Bash
40 lines
1.0 KiB
Bash
#!/bin/sh
|
|
#
|
|
# These are the steps I typically use to configure and compile Bochs
|
|
# on a Win32 system with Cygwin (v1.7.28) or MinGW/MSYS.
|
|
#
|
|
|
|
CC="gcc"
|
|
CXX="g++"
|
|
#CFLAGS="-O3 -Wall -Wno-format -mno-cygwin" # for GCC versions < 4.7
|
|
CFLAGS="-O3 -Wall -Wno-format -mno-ms-bitfields"
|
|
CXXFLAGS="$CFLAGS"
|
|
|
|
export CC
|
|
export CXX
|
|
export CFLAGS
|
|
export CXXFLAGS
|
|
|
|
./configure --enable-sb16 \
|
|
--enable-ne2000 \
|
|
--enable-all-optimizations \
|
|
--enable-cpu-level=6 \
|
|
--enable-x86-64 \
|
|
--enable-vmx=2 \
|
|
--enable-avx \
|
|
--enable-pci \
|
|
--enable-clgd54xx \
|
|
--enable-voodoo \
|
|
--enable-usb \
|
|
--enable-usb-ohci \
|
|
--enable-usb-ehci \
|
|
--enable-usb-xhci \
|
|
--enable-busmouse \
|
|
--enable-es1370 \
|
|
--enable-e1000 \
|
|
--enable-show-ips \
|
|
--with-win32 --with-rfb --with-nogui \
|
|
--enable-debugger \
|
|
--enable-debugger-gui \
|
|
${CONFIGURE_ARGS}
|