diff --git a/bochs/.bochsrc b/bochs/.bochsrc
index 50c06ead9..3f603349e 100644
--- a/bochs/.bochsrc
+++ b/bochs/.bochsrc
@@ -513,8 +513,9 @@ floppy_command_delay: 500
# mouse button on X11, SDL, wxWidgets and Win32).
# With the new mouse type option you can select the type of mouse to emulate.
# The default value is 'ps2'. The other choices are 'imps2' (wheel mouse
-# on PS/2), 'serial' and 'serial_wheel' (one com port requires setting
-# 'mode=mouse').
+# on PS/2), 'serial', 'serial_wheel' (one com port requires setting
+# 'mode=mouse') and 'usb' (3-button mouse on USB port #1 - requires PCI and
+# USB support).
#
# Examples:
# mouse: enabled=1
@@ -635,7 +636,8 @@ keyboard_mapping: enabled=0, map=
# This option controls the usage of the i440FX PCI chipset. You can also
# specify the devices connected to PCI slots. Up to 5 slots are available
# now. These devices are currently supported: ne2k, pcivga, pcidev and
-# pcipnic.
+# pcipnic. If Bochs is compiled with Cirrus SVGA support you'll have the
+# choice 'cirrus' instead of 'pcivga'.
#
# Example:
# i440fxsupport: enabled=1, slot1=pcivga, slot2=ne2k
diff --git a/bochs/doc/docbook/user/user.dbk b/bochs/doc/docbook/user/user.dbk
index 6c85fe35c..736a4e4b7 100644
--- a/bochs/doc/docbook/user/user.dbk
+++ b/bochs/doc/docbook/user/user.dbk
@@ -1,7 +1,7 @@
+
-
-Using Bochs and the remote GDB stub
-
+Using Bochs and the remote GDB stub
This section covers how you can use Bochs with a remote GDB stub to debug your kernel.
-
-Configuring Bochs
-
+Configuring Bochs
-The GDB stub is not active in standard Bochs binary package. So you must recompile Bochs.
-Download the Bochs source package, untar it and run the configure script
-with the `--enable-gdb-stub' argument.
+The GDB stub is not active in standard Bochs binary package. So you must recompile Bochs.
+Download the Bochs source package, unpack it and run the configure script
+with the --enable-gdb-stub argument.
$ ./configure --enable-gdb-stub
@@ -6098,20 +6136,16 @@ After that, just run make and you should have a Bochs binary that contain a GDB
-
-Running Bochs
-
+Running Bochs
-Enable the gdbstub option in bochsrc, then just start Bochs as normal. Bochs will stop and wait for GDB to connect to the stub.
+Enable the gdbstub option in bochsrc, then just start Bochs as normal. Bochs will stop and wait for GDB to connect to the stub.
-
-Running GDB
-
+Running GDB
-Bochs GDB stub waits for a connection on port 1234 on localhost (127.0.0.1). Just start GDB like this;
+Bochs GDB stub waits for a connection on port 1234 on localhost (127.0.0.1). Just start GDB like this:
$ gdb YOUR-KERNEL
@@ -6121,19 +6155,19 @@ Bochs GDB stub waits for a connection on port 1234 on localhost (127.0.0.1). Jus
(gdb) target remote localhost:1234
Remote debugging using localhost:1234
0x0000fff0 in ?? ()
- (gdb)
+ (gdb)
-You are now connected to the remote GDB stub in Bochs. You are now able to set breakpoints.
+You are now connected to the remote GDB stub in Bochs. You are now able to set breakpoints.
Use the continue (c) command to continue the simulation.
-Hitting ^C works. Example;
+Hitting ^C works. Example:
Program received signal 0, Signal 0.
syscall_testsuite_result (aux=0x1f11fe4) at ../rtmk/syscalls.c:33
33 {
- (gdb)
+ (gdb)
@@ -6286,15 +6320,15 @@ dlx login:
-Bios Tips
+BIOS Tips
- Booting from cdroms
+ Booting from CD-ROMs
-A bootable cdrom has a special layout that is detected by the
-bios boot loader code, and executed if it conforms the specifications.
+A bootable CD-ROM has a special layout that is detected by the
+BIOS boot loader code, and executed if it conforms the specifications.
This layout is called "El Torito Bootable CD-ROM Format Specification"
-and has been published by Phoenix and IBM. A copy of this spec is on
-Bochs tech specs page at http://bochs.sourceforge.net/techdata.html.
+and has been published by Phoenix and IBM. A copy of this spec is on
+Bochs tech specs page.
El Torito specifies 3 ways to have a bootable cd :
@@ -6310,7 +6344,7 @@ arbitrary number of sectors straight into memory, and execute it
Harddisk emulation : a hard disk image in burnt inside the cd. The
-Bios has to redirect all hard disk accesses to that image. The rel hard disks
+BIOS has to redirect all hard disk accesses to that image. The rel hard disks
are still available, with bios numbers #81 and up.
@@ -8628,9 +8662,9 @@ Here are the known issues about installing and running Windows NT4.0 :
-at the moment, you can not use the LGPL VGABios to install Windows NT 4.0
-(you'll get a black screen after first reboot). The solution is to use the
-Elpin VGABios.
+If you want to use the LGPL'd VGABIOS to install Windows NT 4.0 you'll need
+version 0.4c or higher. With older versions you'll get a black screen after
+first reboot.