3d38b5469b7da70825745073bab0a9c8726c65c5
[pintos-anon] / src / misc / bochs-2.2.6.README
1 This version of Pintos is designed for use with Bochs 2.2.6.  A few
2 patches for this version of Bochs are included:
3
4     bochs-2.2.6-big-endian.patch
5
6         Makes the gdb stubs work on big-endian systems such as
7         Solaris/Sparc, by doing proper byteswapping.  It should be
8         harmless elsewhere.
9
10     bochs-2.2.6-jitter.patch
11
12         Adds the `jitter' feature described in the project documentation,
13         in which timer interrupts are delivered at random intervals.
14
15     bochs-2.2.6-ms-extensions.patch
16
17         Needed for Bochs to compile with GCC on some hosts.  Probably
18         harmless elsewhere.
19
20     bochs-2.2.6-solaris.patch
21
22         Needed on Solaris hosts.  Do not apply it elsewhere.
23
24 To apply all the patches, cd into the Bochs directory, then type
25         patch -p1 < $PINTOSDIR/src/misc/bochs-2.2.6-big-endian.patch
26         patch -p1 < $PINTOSDIR/src/misc/bochs-2.2.6-jitter.patch
27         patch -p1 < $PINTOSDIR/src/misc/bochs-2.2.6-ms-extensions.patch
28         patch -p1 < $PINTOSDIR/src/misc/bochs-2.2.6-solaris.patch
29 You will have to supply the proper $PINTOSDIR, of course.  You can use
30 patch's --dry-run option if you want to test whether the patches would
31 apply cleanly before trying to apply them.
32
33 Sample commands to build and install Bochs for Pintos are supplied in
34 bochs-2.2.6-build.sh.