Commit Graph

556 Commits

Author SHA1 Message Date
Bryce Denney
be8db98f49 - applied in cvs 2002-10-11 13:21:34 +00:00
Bryce Denney
d54402bfbd - this patch creates a new configure test which detects largefiles flags
correctly.  It is based on code from wxWindows, so I have asked
  Vadim Zeitlin for permission to include it.
2002-10-11 05:01:38 +00:00
Christophe Bothamy
cf33240efc This patch adds Tekram DC280E VLB-IDE support to Bochs.
This card has 2 ata channels, so this would be better
than the promise DC2300.  It also has drivers for win95,
available on tekram website.

Many thanks to Volker for fixing the interrupt bug!
It solved the problem I had with this patch...
2002-10-08 15:02:23 +00:00
Bryce Denney
f7b3ba2a76 - removed this patch because it was complete junk 2002-10-05 12:24:59 +00:00
Bryce Denney
690adc16bf - apply patch from Alexander Krisak (darkelf@newmail.ru)
which adds a help command to the debugger
- modified: debug/dbg_main.cc debug/debug.h debug/lexer.c debug/lexer.l
  debug/parser.c debug/parser.h debug/parser.y docs-html/debugger.html
- removed the patch file now that the changes are committed
2002-10-04 14:57:36 +00:00
Bryce Denney
4f6302bf8e - add patch from Alexander Krisak (darkelf@newmail.ru) 2002-10-04 14:38:16 +00:00
Kevin Lawton
4e9db8b224 Removed patches/patch.extra_eflags_asms since I just integrated it. 2002-10-03 18:13:41 +00:00
Kevin Lawton
f344c3df8d Added patch from Jas Sandys-Lumsdaine. I'll review this soon and
integrate it, if it looks good.  Putting here for the CVS trail.

  "This patch adds extra inline asm statements for the most important
  instructions I found to be still resorting to lazy flags execution.
  I counted the instructions that "hit" and "missed" when an eflag
  value was needed - if there was a miss, the flag was not known and
  had to be calculated with lazy_flags.cc. The culprit instruction
  which last executed to affect the eflags was tallied."
2002-10-03 17:23:11 +00:00
Kevin Lawton
295ef3b966 Removed these alternate files since I integrated them into the
main code.
2002-10-03 17:19:27 +00:00
Bryce Denney
ead7438d4f - this patch is in cvs now, with a few minor changes. Some of the
modifications to panics and things in cpu I also applied, but checked in
  separately.  See [ 609616 ] remote GDB stub for more information.
2002-10-03 05:31:48 +00:00
Kevin Lawton
1aeb4c71b1 Updated the alternate pc_system.{cc,h} files to add the ID string
parameter so we know which source modules are requesting
  timers.  Also added a SpewPeriodicTimerInfo #define in
  case somebody is still having guest OS hang problems.  If
  enabled, this macro will force a brief dump of the active timers
  list to the bochsout.txt file, every 5Million ticks.
  If the lowest timer's period is extremely low, that would be
  suspect.
2002-10-02 05:54:34 +00:00
Kevin Lawton
a11e637ec0 Added an alternative set of pc_system.{cc,h} files for
testing.  Please try these out if you want to help test
  them or if your guest OS appears to be hanging with
  no apparent activity.  The old bochs internal timer
  framework is broken in several areas.

  I put these in the patches directory for now.  After
  a 'make all-clean', you can do something like:

    mv pc_system.cc pc_system.cc-old
    mv pc_system.h  pc_system.h-old
    cp patches/pc_system.cc-kpl .
    cp patches/pc_system.h-kpl .
    make

  And let me know if A) they work for you and B) if they help
  the hanging problem.
2002-10-01 21:27:34 +00:00
Bryce Denney
fb54f552fa - removing; patch has been applied now 2002-09-30 14:04:26 +00:00
Bryce Denney
ea20513e19 - convert to unix newlines so that patch is happy 2002-09-30 14:03:53 +00:00
Bryce Denney
ea0874aa4a - add Carbon patch from Chris Thomas (jusansai) 2002-09-30 13:56:51 +00:00
Stanislav Shwartsman
60505911c3 The patch was already committed to main trunk 2002-09-29 18:43:22 +00:00
Stanislav Shwartsman
0ea0d828df removed the example because it already integrated to the main trunk 2002-09-28 17:11:30 +00:00
Bryce Denney
935b0f97bd - a few minor fixes to make it compile 2002-09-28 04:54:17 +00:00
Kevin Lawton
ad3c1474e3 Integrated this patch verbatim. Deleted from patches/. 2002-09-28 01:51:21 +00:00
Kevin Lawton
11139670ad Added patch/patch.logicalxx_asm from Jas Sandys-Lumsdaine.
I'm going to look at this next and integrate it if it's good,
  but wanted a record of the patch in CVS.
2002-09-28 01:22:39 +00:00
Kevin Lawton
8755e5b391 This patch was just itegrated. Removed it. 2002-09-28 00:55:12 +00:00
Bryce Denney
a2d70c9953 - separate Zwane's patch and my patch so they can be more easily compared.
Now patch.tsc-zwane is back to exactly what Zwane sent to me, and
  patch.tsc-bryce has my modified version.
2002-09-27 23:17:04 +00:00
Bryce Denney
4098cf607e - I screwed up the previous rev by somehow removing a line "typedef struct {".
You can imagine how well it worked without that.
2002-09-27 03:18:44 +00:00
Bryce Denney
48e0e9dc7d - update so that it applies clean again 2002-09-26 02:12:00 +00:00
Bryce Denney
ba6afa5e97 minor cleanups:
- moved cpu_online_map into the BX_CPU_C structure as a static member
  (there is only one per bochs, not one per CPU)
- reduced the diffs in several places to make it more clear what had changed
- removed lots of whitespace diffs
2002-09-25 14:52:45 +00:00
Bryce Denney
4570f1ba77 - add highmem patch from Zwane Mwaikambo 2002-09-25 13:29:11 +00:00
Bryce Denney
b77654f907 - add APIC patch from Zwane Mwaikambo 2002-09-25 13:16:04 +00:00
Bryce Denney
62066dbd4a - I modified Zwane's patch. see my comments inside 2002-09-25 03:17:32 +00:00
Bryce Denney
70a7056b23 - add tsc patch from Zwane Mwaikambo 2002-09-25 00:00:11 +00:00
Kevin Lawton
62084dd83d Shortened this patch file down to just the important notes. I integrated
the patches, but didn't want to lose the text until they're put into
a doc somewhere.
2002-09-24 20:13:38 +00:00
Christophe Bothamy
dab39a8031 - this patch enables Promise DC2300 VLB-IDE support 2002-09-24 12:55:13 +00:00
Kevin Lawton
2459d81619 Removed this patch which is already in the bochs CVS source. 2002-09-23 19:31:50 +00:00
Kevin Lawton
6d51ca08f1 Removed my patches, which are already integrated into bochs. 2002-09-23 19:29:15 +00:00
Kevin Lawton
d9ac09ea26 Removed this old 4Meg pages patch. We already have big page
support in bochs.
2002-09-23 19:23:03 +00:00
Bryce Denney
ff0c169407 - add patch from Luiz Henrique Shigunov, see
[ 612486 ] more disasm functions
  http://sourceforge.net/tracker/index.php?func=detail&aid=612486&group_id=12580&atid=312580
2002-09-23 19:20:58 +00:00
Bryce Denney
6fafbe4b25 - add example of how to use siminterface callback function 2002-09-23 17:02:33 +00:00
Bryce Denney
09e8993e41 - add
- this patch is from [ #567595 ] guess floppy type from image file length.
  from Tal Benavidor
2002-09-23 04:16:18 +00:00
Christophe Bothamy
cec1c57d98 - merged Bryce's patch and mine
- preparing for commit of all the changes. We'll keep this patch in case something goes wrong
2002-09-22 20:51:05 +00:00
Stanislav Shwartsman
470dd1d30f Examples directory for mew instrumentation stuff 2002-09-20 20:25:55 +00:00
Stanislav Shwartsman
973422be6f Removed patch-smp-fpu because it already merged with MMX support 2002-09-20 20:15:34 +00:00
Stanislav Shwartsman
22d8918774 New version of Bochs instrumentation stuff 2002-09-20 20:12:36 +00:00
Bryce Denney
d2b5e83283 - fix typo in a comment. Also this hunk will conflict with what I'm
about to check in.
2002-09-20 17:52:05 +00:00
Christophe Bothamy
3dfb397974 - added patch found in sf [ 609616 ] remote GDB stub
From sf patch page :

This patch adds remote GDB stub capability to Bochs.
It's an updated version of the patched bochs 1.3pre1 in
found in this URL:

http://www.rtmk.org/bochs-gdb.html

more details in the same site. thanks Johan Rydberg
2002-09-20 16:14:55 +00:00
Bryce Denney
d5952573e6 - remove this patch, since we now have x86-64 support in current CVS 2002-09-19 00:46:38 +00:00
Bryce Denney
e16d550248 - with this version of my patch, 4ata works in wxWindows 2002-09-17 18:11:12 +00:00
Bryce Denney
274ce4cd55 This patch applies on top of Christophe Bothamy's 4ata-channels patch.
I'm keeping a separate patch in case Christophe wants to make revisions
to his patch without my changes getting in the way.

I have just been working on the configuration interface part, for
example making it so that when you disable the ata[0123] channel, all the
devices controlled by that channel will be disabled as well.  I haven't
gotten around to the wxWindows part, but these changes will make the
wxWindows work much easier.  I will update this patch as my work progresses.
2002-09-17 14:36:23 +00:00
Bryce Denney
d162178f24 - make the patch apply to current sources (very minor)
- now this patch is checked in with -kb flag
2002-09-16 18:23:29 +00:00
Christophe Bothamy
55510b1e17 - Initial revision of the 4 ata channels patch. 2002-09-14 07:34:41 +00:00
Bryce Denney
6a9d2e662f - I committed the MMX patch with big endian support, so I have removed
the MMX patches from the patches directory.
- removed: patches/bochs-mmx.patch patches/bochs-mmx.patch-endian-support
2002-09-09 16:28:07 +00:00
Bryce Denney
53d71821c1 - I already checked in something better than this 2002-09-05 16:02:43 +00:00
Stanislav Shwartsman
c3b4f170d6 The patch was changed accoring to access.cc changes and
Bryce's recomendations.
2002-09-04 21:13:08 +00:00
Bryce Denney
d6c1c14d43 - patch now adds configure option --enable-mmx that enables/disables it 2002-09-04 20:32:04 +00:00
Bryce Denney
20bd8507af - add configure option --enable-mmx in configure.in. I didn't bother
to diff configure...you'll have to run autoconf yourself.
- in config.h.in set BX_SUPPORT_MMX to 0, not 1.  The configure script
  will replace it with a 1 if appropriate.  That's the way all other
  options are done.
- you need to use patch -p1 for this
2002-09-04 20:09:00 +00:00
Bryce Denney
db239afdcf - add diffs in cpu/Makefile.in so that it compiles w/o editing anything
- you must use patch -p1, not patch -p0
- write date as September 1, 2002 so it's not confusing to U.S. readers,
  who think 1/9/2002 means January 9.
2002-09-04 19:47:33 +00:00
Stanislav Shwartsman
21413f26aa MMX support patch
Now with BIG_ENDIAN systems compatability
Tested on HP1100 and Solaris systems
(for Bochs 1.4.1 release)
2002-09-04 19:30:09 +00:00
Bryce Denney
e804c745bb - this patch should guarantee that the memory vector is aligned on an
8-byte boundary.  It simply allocates 8 extra bytes, then steps forward
  one at a time until it finds a pointer whose address is a multiple of 8.
2002-09-03 16:57:42 +00:00
Kevin Lawton
3d8e5f8b61 Removed the BX_FETCHDECODE_CACHE mods, and the patch that
Bryce created for use of ensuring all mods were removed
cleanly.
2002-09-01 23:02:36 +00:00
Bryce Denney
9a28714cbd - manually remove a diff chunk that was only a difference in version number,
since it always conflicts.
2002-09-01 21:46:30 +00:00
Bryce Denney
99ff4b3ed1 - create a patch that is equivalent to all CVS diffs associated with
the fetchdecode cache.
2002-09-01 21:30:50 +00:00
Kevin Lawton
944697affb Removed patch which I committed to CVS. 2002-09-01 20:21:23 +00:00
Stanislav Shwartsman
9620d2a423 MMX instructions support (LITTLE_ENDIAN version)
After applying the patch edit cpu/MakefilE
2002-09-01 15:44:40 +00:00
Bryce Denney
157a9ac53a - this patch has been committed, and hasn't broken too many compiles so far 2002-09-01 15:39:39 +00:00
Kevin Lawton
7a8d2dc61e Oops, added a modified file which I forgot about, to the patch. 2002-09-01 03:20:23 +00:00
Kevin Lawton
976b95ece9 Added 'patches/patch.kpl-paging-cleanup', a well needed clean-up
of bochs' broken paging code, and made an option to compile in
support of 4Meg pages, with the default being disabled, because
it is not well supported yet.
2002-09-01 02:37:40 +00:00
Bryce Denney
a8827a60bf - add note that you need segchecks patch too 2002-08-30 13:52:02 +00:00
Bryce Denney
d2366e1009 - upload patch from Kevin Lawton, SF#602156: Simple performance mod for
cpu.cc (EIP)
2002-08-30 13:26:02 +00:00
Bryce Denney
9d194317ec - add Kevin's patch on SF, #602003: repeat instruction optimizations 2002-08-30 13:20:42 +00:00
Bryce Denney
e1df049256 - add patch submitted by Kevin Lawton on ML 2002-08-27 23:00:58 +00:00
Bryce Denney
7fdc7303c2 - add "void reset(unsigned type)" method to every I/O device.
Some devices already had one.  Some I had to add an empty one.
  I did a little cleaning of init() methods to make them more uniform
  but generally I left them alone.
- I also put these exact diffs into a patch "patch.iodev-add-reset"
  in case I want to revert these changes for some reason, for example
  if they break an old patch.  It should be deleted after a while.
2002-08-27 19:54:46 +00:00
Volker Ruppert
28e06c07a0 - the changes are present in CVS and these files are no longer needed 2002-08-25 09:12:55 +00:00
Bryce Denney
c81a354ebf - this adds a configure option --enable-external-debugger for use with
Peter Tattam's external debugger.  So far the external debugger only
  works on win32 platforms if you download Peter's DLL.
2002-08-25 05:02:38 +00:00
Christophe Bothamy
5cd66320e1 - uploaded 64bits-registers-extension patch from Kevin 2002-08-20 10:54:25 +00:00
Volker Ruppert
16f04b12f0 - this patch adds include support for config files 2002-08-16 07:17:50 +00:00
Volker Ruppert
a546102083 - the changes are present in CVS 2002-08-15 12:21:49 +00:00
Christophe Bothamy
872c0a1b20 - added patch [ 567606 ] make bochsrc more portable, from Tal Benavidor 2002-08-12 15:19:19 +00:00
Christophe Bothamy
2a7bfa41de - patch from Bernhard Bablok to create a shell wrapper that eases Bochs launch. 2002-08-12 14:49:21 +00:00
Christophe Bothamy
ee085e1f55 - This patch adds MOV_CdRd in v8086 mode (from Martin Str|mberg) 2002-08-10 12:02:52 +00:00
Volker Ruppert
0d46cfdad9 - this patch replaces the standard headerbar by a win32 toolbar 2002-08-10 08:57:23 +00:00
Volker Ruppert
5453016e86 - this patch is no longer necessary 2002-08-09 15:00:03 +00:00
Volker Ruppert
d015d4a367 - win32 changes removed
- description updated
2002-08-09 07:41:43 +00:00
Volker Ruppert
940a5c7b74 - userbutton added to the wxgui 2002-08-08 08:05:19 +00:00
Volker Ruppert
ec33a610e4 - config option and bochsrc example added 2002-08-07 20:35:57 +00:00
Volker Ruppert
c10458ee49 - this patch adds a headerbar button that sens keypresses 2002-08-06 16:17:49 +00:00
Christophe Bothamy
7cae4b94c4 - patch from Timo Weggen :
With this patch the INVLPG instruction doesn't invalidate the
  whole TLB, but only a single page table entry.
2002-08-06 09:01:47 +00:00
Christophe Bothamy
987a30ca17 - This patch enables the guest to read to host time (linux only).
Port 0x8901 is used. Two time values can be set and
  read, along with the difference of the two.
  Please look in the patch file for instructions on usage.
2002-07-31 16:15:51 +00:00
Christophe Bothamy
edf44aceaa - This patch turns the eflags structure to a 32bits bitfield 2002-07-31 16:11:27 +00:00
Christophe Bothamy
1956be72db - I forgot to initialize the new variable 2002-07-30 08:48:03 +00:00
Christophe Bothamy
52007ee6c7 - This patch enables the guest to programmatically stop bochs 2002-07-29 12:42:28 +00:00
Christophe Bothamy
9ab70dd560 - conditionnaly include <sys/mount.h> if BX_HAVE_BLKGETSIZE is defined
- updated for latest cvs code
2002-07-29 10:00:10 +00:00
Christophe Bothamy
8fc5ffd373 - added patch to enable the use of up to 4 optional romimages 2002-07-24 17:51:09 +00:00
Volker Ruppert
acba77dbf2 - cursor size feature simplified
- cursor hide feature works now
- don't handle the text cursor in graphics mode
2002-07-09 18:30:57 +00:00
Volker Ruppert
42c391cf9d - patch updated for current CVS version
- cursor size feature added for the BeOS gui
2002-07-08 20:11:12 +00:00
Volker Ruppert
d8454f31de - this file is no longer needed 2002-07-06 15:24:01 +00:00
Christophe Bothamy
3088768f88 - added a configure check for BLKGETSIZE ioctl support. The patch should not cause any more problems on other systems 2002-07-04 10:40:10 +00:00
Volker Ruppert
636027845c - this patch doesn't fix the fprem bug. 2002-07-03 20:16:48 +00:00
Christophe Bothamy
5f44c98412 - this patch adds sysenter/sysexit functions support for CPU_LEVEL >= 6 2002-06-27 21:47:44 +00:00
Christophe Bothamy
cba611f25b - updated with latest version found on sf patches page 2002-06-27 19:38:39 +00:00
Volker Ruppert
888ef120f8 - changes in file bochs-dlx.in added 2002-06-27 15:36:27 +00:00
Christophe Bothamy
c6f9ce353a - removing patch.fetchdecode-cache as it is included in the main branch, and does not apply cleanly anymore 2002-06-27 14:39:03 +00:00
Volker Ruppert
4d9c62b001 - added some more files that need to be changed 2002-06-26 17:08:55 +00:00
Christophe Bothamy
fcc5bd67cb - added patch for block device size detection from Ph. Marek
- included it in the main branch as it is only active with block devices
2002-06-26 16:45:27 +00:00
Christophe Bothamy
a926744628 I reworked and included Carl's patch to have a new bochsrc directive
to describe the format of the log prefix. This option can be any string
with special tokens being replaced at run time :
  #   %t : 11 decimal digits timer tick
  #   %i : 8 hexadecimal digits of cpu0 current eip
  #   %e : 1 character event type ('i'nfo, 'd'ebug, 'p'anic, 'e'rror)
  #   %d : 5 characters string of the device, between brackets
the default is "%t%i%d", so the logprefix is the same as before.

New tokens can be easily added or changed if needed.


Modified Files:
  .bochsrc bochs.h logio.cc main.cc gui/control.cc
  gui/siminterface.h gui/siminterface.cc
  patches/patch.logfilefmteip
2002-06-26 14:42:35 +00:00
Christophe Bothamy
368a58ef97 - removing patch as it has been included in the main branch long ago. 2002-06-25 07:35:41 +00:00
Bryce Denney
c337f3715f - This patch creates one copy of the FPU registers and state for every CPU
in a multiprocessor simulation.  Imagine that!  Without the patch, there is
  just one FPU for all the processors, which is clearly wrong.
  See bug [ 461762 ] multiple processors but only one FPU
2002-06-23 00:35:19 +00:00
Volker Ruppert
147657781b - the changes are present in CVS now. 2002-06-19 18:27:00 +00:00
Volker Ruppert
506d6ce6d9 - the patch file is no longer needed 2002-06-14 16:32:10 +00:00
Volker Ruppert
260ab478d7 - this patch adds register and unregister functions for DMA channels and
defines macros for DMA functions.
2002-06-04 18:31:27 +00:00
Volker Ruppert
0ef68e47ad - the changes are present in CVS now 2002-06-04 18:30:24 +00:00
Christophe Bothamy
75247ef0a4 - 3rd version of tld's fetchdecode cache 2002-06-03 20:34:31 +00:00
Volker Ruppert
16966b066e - the changes are present in CVS now 2002-06-01 21:35:43 +00:00
Christophe Bothamy
c04d7cd10a This a patch found on sf bug list from mrieker :
fixed some stuff in apic code:
  - interprocessor nmi's
  - lowest priority
  - fixed ppr
  - can write task_priority
  - scan priorities from high to low
2002-05-30 12:15:16 +00:00
Christophe Bothamy
d5e43f24b4 - updated the patch from tld. 2002-05-29 21:52:36 +00:00
Christophe Bothamy
d78e428169 - added fetchdecode-cache patch from tld 2002-05-29 09:02:40 +00:00
Volker Ruppert
671ad5215d - updated for current CVS (logio 1.17)
- added check for the siminterface init state before calling the vga
  timer handler
2002-05-26 16:56:46 +00:00
Christophe Bothamy
198bc0afb5 - new version by Robert Millan 2002-05-15 09:10:14 +00:00
Christophe Bothamy
082d093b68 - removing patch since it's been included and modified in bochs cvs 2002-05-15 09:09:48 +00:00
Volker Ruppert
e13bdb401f - this patch adds the most important functions of the 32 bit PCI BIOS 2002-05-12 15:23:13 +00:00
Christophe Bothamy
5f3dbfb47a - i'm uploading the patch on behalf of Robert Milan
- this patch adds fhs compatibility when installing Bochs
2002-05-04 15:18:33 +00:00
Volker Ruppert
d6dd67e3c1 - the patch is checked in and this file is no longer needed 2002-05-02 17:53:53 +00:00
Christophe Bothamy
eeb542bb8c - removing this patch since it has been long included in the bios 2002-05-01 21:10:46 +00:00
Christophe Bothamy
bfd7fc33ba - These are the three patches that cegis submitted on the sf bug list 2002-05-01 21:07:13 +00:00
instinc
9101155d31 patch to fix the behaviour of the stack_return_from_v86 function 2002-04-20 20:28:32 +00:00
Volker Ruppert
36cc51de38 - the changes are checked in now 2002-04-20 16:21:32 +00:00
Volker Ruppert
54f1d3d2ab - patch for dimension_update() in text mode and text_update() 2002-04-19 22:44:15 +00:00
Bryce Denney
503a272fc1 - this has been in since March 7 2002-04-18 01:05:11 +00:00
Bryce Denney
baeb6f74b7 - this has been in the cvs for a while now with no loud complaints 2002-04-18 01:04:29 +00:00
Bryce Denney
2f69a74616 - commit TUN/TAP patch, though I can't really test it. I can verify that if
you don't have if_tun.h the configure script does not enable TUN/TAP.
2002-04-18 00:59:20 +00:00
Bryce Denney
d85b0c113f - apply Peter Tattam's patch to fix a DMA bug. 2002-04-18 00:37:09 +00:00
Bryce Denney
91cc6590b2 - apply Peter Tattam's patch that makes win32 pad packets up to 60 bytes 2002-04-18 00:33:58 +00:00
Bryce Denney
05ac22063b - applied the patch by hand...this is what I'm checking in now. 2002-04-18 00:32:29 +00:00
Bryce Denney
30aaf4088e - commit patch.wxwindows.gz in the main branch. Now you can try out
the wxwindows interface by just "configure --with-wx; make"

  Modified Files:
    Makefile.in bochs.h config.h.in configure configure.in
    load32bitOShack.cc logio.cc main.cc cpu/cpu.cc cpu/cpu.h
    debug/dbg_main.cc gui/Makefile.in gui/control.cc gui/gui.cc
    gui/siminterface.cc gui/siminterface.h gui/x.cc iodev/cdrom.cc
    iodev/keyboard.cc memory/misc_mem.cc
  Added Files:
    README-wxWindows wxbochs.rc gui/wx.cc gui/wxmain.cc
    gui/wxmain.h gui/bitmaps/cdromd.xpm
    gui/bitmaps/configbutton.xpm gui/bitmaps/copy.xpm
    gui/bitmaps/floppya.xpm gui/bitmaps/floppyb.xpm
    gui/bitmaps/mouse.xpm gui/bitmaps/paste.xpm
    gui/bitmaps/power.xpm gui/bitmaps/reset.xpm
    gui/bitmaps/snapshot.xpm
  Removed Files:
    patches/patch.wxwindows.gz
2002-04-18 00:22:20 +00:00
Bryce Denney
ebfb7a8dab - apply this patch to current CVS to add the wxWindows interface.
gunzip -c patches/patch.wxwindows.gz | patch -p1
2002-04-10 07:51:34 +00:00
Bryce Denney
fb9dc34ce4 - check in raw keycodes patch, to be applied to wxWindows 2.3.2. It is
not required to use a patched wxWindows library, but it allows us to
  do much better key mapping.  Bryce sent this patch to the wxWindows
  developers, and wxWindows 2.3.3 will include these changes.
2002-04-10 06:25:07 +00:00
Bryce Denney
327e7742d2 - WLI separated his patch into 8 cpu support and workarounds. I checked
in the 8 cpu support changes.  These are the workarounds.
2002-04-08 02:03:08 +00:00
Bryce Denney
1ef04e1bcc - patch with changes from William Lee Irwin III <wli@holomorphy.com>
who called it "05_8_cpus"
2002-04-05 18:37:06 +00:00
Bryce Denney
c41bb0fd41 - patch from Peter Tattam in the eth_win32 code to pad all packets to
60 bytes.  It may be simpler to just put the padding code into
  ne2k.cc instead.  As Peter says:
  > I don't think it really matters, but for correctness, the eth_*.cc modules
  > should probably all be patched as they are simulating what appears on the
  > wire (which is wrong).  The ne2k.cc module takes what's on the wire and
  > assembles it into packets.  By doing it that way, the bug is fixed for all
  > NIC drivers in the future.
2002-04-05 17:09:04 +00:00
Bryce Denney
f8d446ef37 - NE2K patch from Peter Tattam 2002-04-05 16:16:16 +00:00
Bryce Denney
0c37403c53 - add patch from Peter Tattam 2002-04-05 06:05:15 +00:00
Jeroen Janssen
8cfa8a3bba - applying patches/patch.vbe-lfb to bochs cvs tree 2002-04-03 16:48:15 +00:00
Bryce Denney
d8e6341a02 - add patch from renzo davoli <renzo@cs.unibo.it> 2002-04-02 15:54:35 +00:00
Bryce Denney
fba51966d3 - it doesn't work well to have the RCS ID of the patch. Often, it's
necessary to use -kb on patches anyway, so that special keywords in
  the diffs do not cause conflicts.
2002-04-02 15:53:08 +00:00
Christophe Bothamy
d1ef29dc6e - Added a biosdev "pseudo device" to handle the log output of the rombios and vgabios :
. ports 0x0400 0x0401 and 0xfff0 : rombios
  . ports 0x0500 0x0501 and 0x0502 : vgabios
  The rombios log output was previously handled by the unmmapped device
2002-04-01 21:53:23 +00:00
Bryce Denney
3cd6d4c1b2 - Zwane's patch to add processor priority to APIC model 2002-03-28 16:53:28 +00:00
Bryce Denney
498dfb562e - check in Zwane's patch that he posted to the list on March 21
I suspect it will conflict with some things by now.
2002-03-28 16:52:12 +00:00
Bryce Denney
6d4a9e7076 - this used to be gui/win32.cc revision 1.26. I removed it from the cvs
because it caused screen corruption whenever Bochs changed resolution.
  (my setup = Win98, MSVC++)
2002-03-28 01:13:31 +00:00
Bryce Denney
ddc7b9abb4 - experimental patch that was lying around in my dir: when instruction
tracing is turned on, print when an interrupt occurs.
2002-03-27 17:57:08 +00:00
Bryce Denney
6562c66289 - something like this has already been checked in 2002-03-27 17:49:46 +00:00
Bryce Denney
640d71d017 - check in Zwane Mwaikambo's MSR patch: patch.msr. 2002-03-27 16:04:05 +00:00
Bryce Denney
3dda1b09fa - work in progress patch to add processor priority to the APIC 2002-03-27 15:59:21 +00:00
Bryce Denney
ae64b4ccdc - revert changes from revision 1.46 of iodev/keyboard.cc which is causing SMP
boot of linux 2.2.17 to freeze forever.  I don't understand what's being
  done in this rev, so I'll ask Dave to check over it and see he can find
  anything suspicious.
2002-03-27 05:58:25 +00:00
Volker Ruppert
3decf2bd07 - the changes are checked in 2002-03-26 21:29:37 +00:00
Bryce Denney
943c87fa0e - remove the original paste patch
- remove patch.paste-only-when-empty, which turned out not to solve any
  problems
2002-03-26 14:47:18 +00:00
Bryce Denney
34e02290eb - apply Christophe's patch.paste-for-dos. I will make minor tweaks as
separate revisions.
2002-03-26 13:51:48 +00:00
Bryce Denney
8ef7c284fd - apply Christophe's patch.rombios-no-gpl
- update binary bioses
- remove the patch from patches
2002-03-26 13:17:44 +00:00
Christophe Bothamy
c477402421 - patch to remove the GPL code taken from ELKS 2002-03-26 11:00:55 +00:00
Bryce Denney
03cd6fa9ad - Zwane sent another version to the list at
Mon, 25 Mar 2002 11:47:38 +0200 (SAST)
  which should correct the compile problems when apic is disabled.
2002-03-25 15:29:17 +00:00
Bryce Denney
e6c82a961a - update patch so it applies cleanly 2002-03-25 09:33:57 +00:00
Bryce Denney
b8ecf5b118 - apply patch.smp-sync-arb-ids. This patch adds a local APIC behavior
that was missing before, the special "INIT Level Deassert" synchronize
  arbitration ID trick.
2002-03-25 01:58:34 +00:00
Bryce Denney
18833a885b - commit patch.pic-priorities. William Irwin needs this patch to get
SMP Linux 2.4.x to boot, since it requires polled mode.  I can't
  say I understand all the pieces of it, but it looks good so far.
2002-03-25 01:31:59 +00:00
Christophe Bothamy
0cf0c6b381 - This patch tries to fix the paste problem in dos/windows 2002-03-25 01:13:56 +00:00
Jeroen Janssen
92b2332af4 - adding vbe lfb enabled vgabios (+debug version) in tar.gz file
- updating vbe-lfb patch to currect cvs + adding some more instructions regarding the bios
2002-03-24 10:38:14 +00:00
Bryce Denney
7f3a8fb237 - small mod to make the patch also allow reads to Arb ID register 2002-03-24 01:20:10 +00:00
Bryce Denney
e6e4bca1f6 - adds an important behavior of local APICs that was missing before.
An INIT interrupt with Trigger mode=Level and Level=Deassert tells
  all the APICs to set their arbitration ID.  It does NOT do a normal
  init, as bochs was doing before.
2002-03-24 01:08:24 +00:00
Bryce Denney
29a00c67a5 - something like this needed in gui.cc 2002-03-23 03:00:15 +00:00
Jeroen Janssen
44078fa7cb - adding TODO item to vbe-lfb patch 2002-03-21 07:13:47 +00:00
Bryce Denney
077e7fd683 - something equivalent to this patch has been committed to cvs.
cpu/cpu.cc rev 1.25.
2002-03-21 00:01:00 +00:00
Bryce Denney
5d2667b345 - set dest format to 0xf by default. I'm just modeling bits 31-28, so 0xff is
invalid.  This fixes the misleading panic message:
  bx_local_apic_c::match_logical_addr: cluster model addressing not
  implemented, which was printed even if the OS did not request cluster
  addressing.
2002-03-20 23:32:43 +00:00
Bryce Denney
2d90a42ba2 - instruction tracing in the debugger was broken in SMP mode. This
patch should fix it.
2002-03-20 08:55:59 +00:00
Bryce Denney
54e3edd8bf *** empty log message *** 2002-03-20 04:32:49 +00:00
Bryce Denney
8527799a32 - set dest format to 0xf. I'm just modeling bits 31-28, so 0xff is
invalid.
2002-03-20 04:22:15 +00:00
Bryce Denney
2c5a8dafed - apply patch.smp-hlt-deadlock which avoids a deadlock in SMP simulation
(with debugger enabled) when all SMP machines are halted.
2002-03-20 03:49:19 +00:00
Bryce Denney
1e378750d5 - add testing notes 2002-03-20 03:00:33 +00:00
Bryce Denney
571ac50d1c - apply patch.smp-eio-readable-wli from William Lee Irwin III.
My code did a panic if you tried to read the EOI register (the panic
  message was wrong but the concept was right).  However it turns out
  some OSes do actually read this register--hopefully they ignore the
  result.  So it should not panic.
2002-03-20 02:51:47 +00:00
Bryce Denney
180f62a303 - commit patch.smp-debug-wli, based on a patch from
William Lee Irwin III <wli@holomorphy.com>
2002-03-20 02:49:07 +00:00
Bryce Denney
2882c98975 - use the BX_SMP_PROCESSORS loop for both cases. BX_CPU(i) is correct
regardless of # of processors.  I will commit this version.
2002-03-20 02:48:11 +00:00
Bryce Denney
b07d0768e8 - check in patch from William Lee Irwin III <wli@holomorphy.com>.
This removes the BX_PANIC that occurs if the OS tries to read the
  EOI register in the local apic.  Apparantly linux 2.4 actually does
  this because it uses an xchg to write the register.
2002-03-20 02:07:38 +00:00
Bryce Denney
5696c05b78 - add patch to improve color map choice in X windows 2002-03-19 23:37:00 +00:00
Bryce Denney
cac05ef7fa - attempt to fix Christophe's problem with pasting more than 14 chars 2002-03-19 22:08:09 +00:00
Bryce Denney
ca6fa8f284 - SMP simulation can deadlock when all the processors are executing a HLT
instruction because ticks are not happening.  This patch allows ticks
  (simulation time) to continue so that the HLT condition eventually ends.
2002-03-19 07:07:46 +00:00
Bryce Denney
494bd46a9d - patch from William Lee Irwin III <wli@holomorphy.com>
fixes SMP compile.
2002-03-19 06:08:55 +00:00
Bryce Denney
d86facd088 - removed this. The patch is too specific to a particular version so it
only applies to the release.  I can't make a better patch with cvs diff
  AFAIK because the patch adds files.  It's just a mess.  So I'll just
  put up an occasional source snapshot on SF instead of trying to keep
  this horrible patch alive.  Cvs users, just do "cvs upd -r BRANCH-cpanel"
  and don't bother with this patch.
2002-03-17 09:39:41 +00:00
Bryce Denney
7cf96b782c - wxwindows patch for Bochs 1.4.pre2. Really, we do wxwindows development
on a branch called BRANCH-cpanel.  This patch is just to make it easier
  for people to try out.
2002-03-17 09:20:28 +00:00
Volker Ruppert
b167616e98 - updated for current CVS version 2002-03-15 19:05:27 +00:00
Bryce Denney
bc8f4eb0f0 - patch from Zwane Mwaikambo <zwane@linux.realnet.co.sz>
that adds partial MSR support.  I plan to add this after 1.4 is released.
2002-03-15 05:37:30 +00:00
Bryce Denney
97bfcd24bc - I applied the patch, so I'm deleting it from here. 2002-03-12 09:18:25 +00:00
Bryce Denney
141cfd2b2f - add triple fault recovery code 2002-03-12 09:15:12 +00:00
Bryce Denney
8369bfb327 - this patch has been committed, so I'll erase it now 2002-03-11 20:41:22 +00:00
Bryce Denney
f9d5807034 - this is the patch from Hartmut Birr <hartmut.birr@tesionmail.de>
dated 2002-02-26.
2002-03-11 20:10:15 +00:00
Bryce Denney
97f7ffddfe - add description 2002-03-11 15:03:30 +00:00
Bryce Denney
692069483b - convert all keymap files, not just US 2002-03-11 14:46:28 +00:00
Bryce Denney
e1407b0d76 - paste cannot work if key mapping is disabled. now it prints an error
in the log file, so at least you can figure out why.
2002-03-11 14:39:26 +00:00
Bryce Denney
3117c3efef - add apostrophe and backslash to keymap.cc 2002-03-11 14:32:41 +00:00
Bryce Denney
9564982b58 - first try patch to add paste feature 2002-03-11 14:29:01 +00:00
Jeroen Janssen
633aa31a9c - adding first implementation of the vbe lfb patch 2002-03-10 20:30:25 +00:00
Bryce Denney
a48e198bec - this patch is committed now 2002-03-10 05:22:25 +00:00
Bryce Denney
4b6647eb44 - this VBE patch is from Jeroen Janssen <japj@darius.demon.nl>
This is his 5th version of the patch, from patch #526595 on source forge,
  submitted on March 9.
2002-03-10 04:43:16 +00:00
Bryce Denney
062faeae27 - macosx patch from Jeremy Parsons (brefin) 2002-03-09 02:39:34 +00:00
Bryce Denney
9c7c35c1f2 - this has been committed now 2002-03-09 01:36:30 +00:00
Bryce Denney
c8d3a1ce24 - working now for pings from guest to host machine. Still problems when
going in the opposite direction.
2002-03-09 00:30:49 +00:00
Bryce Denney
91af68a835 - first try at ethertap network interface. It is getting close to working:
transmission from host to guest is ok, but from guest back to host is
  strange.
2002-03-08 22:14:55 +00:00
Bryce Denney
b9c0f4e3a0 - update testing results 2002-03-07 15:44:48 +00:00
Bryce Denney
71a7f13089 - add testing results 2002-03-07 15:33:33 +00:00
Bryce Denney
004c4e5743 - add patch header with description of what I'm doing 2002-03-07 14:55:24 +00:00
Bryce Denney
55f7ddcb4d - I used the patch while experimenting, but it is checked in now. 2002-03-07 14:08:08 +00:00
Bryce Denney
45de5a2d85 - rewrite some .conf.* files to reflect that they no longer have to
specify the gui if they want to accept the default.
2002-03-06 23:20:57 +00:00
Bryce Denney
a813bc223c - add default guis for every platform, and default CFLAGS for the ones that
need it.  The goal is that configure;make does something usable on every
  platform.
2002-03-06 23:04:17 +00:00
Bryce Denney
b385550233 - include the missing config.sub, etc. files in the patch too 2002-03-06 21:02:22 +00:00
Bryce Denney
efd408f386 - add range checking; panic if you exceed the array size. 2002-03-06 19:56:54 +00:00
Bryce Denney
d1692aaea8 - make configure discover the target platform so that the configure script
can enable/disable features according to platform.
2002-03-06 19:41:24 +00:00
Bryce Denney
dd30b8174c - this patch removes references to iostream and vector, and replaces the
template with a static array with a fixed maximum size.
2002-03-06 19:36:56 +00:00
instinc
9d112c44c2 Kernel Panic's patch to the disassembler, it now shows displacement as the final offset rather than being a displacement and also display all hexadecimal values using capital letters. 2002-03-05 18:07:28 +00:00
Bryce Denney
637a4716c5 - this has been committed, so I'l erase it now. 2002-03-05 15:54:24 +00:00
Bryce Denney
dca9d5f915 - patch already applied cleanly with patch -p0
- added header
2002-03-03 04:35:43 +00:00
Bryce Denney
dac42f536e - serial patch from Stu Grossman. This is right out of an email, and I
expect it needs some line break cleanups.
2002-03-03 04:29:58 +00:00
Volker Ruppert
ff5a3a14e9 - the changes are checked in 2002-03-02 11:32:56 +00:00
Bryce Denney
5b35586f82 - add patch from Petr Stehlik <pstehlik@sophics.cz> that allows
linux to eject the physical cd. not tested.
2002-02-22 19:43:53 +00:00
Volker Ruppert
790bcfc3fe - this patch adds some PIC features 2002-02-12 11:42:57 +00:00
Volker Ruppert
c0c90e1c61 - the patch is checked in and no bug reports are present 2002-02-09 13:24:26 +00:00
Volker Ruppert
e4516a12e8 - new PIC IRQ handling implements edge triggered mode 2002-01-27 17:00:13 +00:00
Volker Ruppert
8ce8b8e551 - patch is checked in 2002-01-16 16:43:57 +00:00
Volker Ruppert
6058946c09 - patch is no longer necessary 2002-01-16 16:40:37 +00:00
Volker Ruppert
c24eaf3e3c - patch is checked in and there are no bugreports 2002-01-13 17:05:29 +00:00
Bryce Denney
4067313d38 - applied this patch 2002-01-07 16:23:13 +00:00
Bryce Denney
f94759416d - the patch lost some spaces in transmission, so I added them back. 2002-01-07 16:22:34 +00:00
Bryce Denney
37d828e8b4 - spanish keymap patch from Vicente Hernando Ara <bizenton@navegalia.com> 2002-01-07 15:46:03 +00:00
Volker Ruppert
4b68e7dcd8 - second set of changes to bochs floppy support 2001-12-28 16:39:59 +00:00
Volker Ruppert
e1e51a29d9 - description completed 2001-12-27 20:54:03 +00:00
Volker Ruppert
c7d1e52217 - behaviour of some floppy commands changed 2001-12-27 09:32:54 +00:00
Volker Ruppert
d459745df8 - patch is checked in and no problems are reported 2001-12-26 12:33:02 +00:00
Volker Ruppert
76fd8a43f9 - keyword 'virtual' added to the destructor 2001-12-22 20:58:25 +00:00
Bryce Denney
9884c923cd - previous rev was for version 1.3. This one matches current CVS. 2001-12-21 19:28:45 +00:00
Bryce Denney
a40569fb94 - add patch from Darko Tominac <darko.tominac@zg.tel.hr> 2001-12-21 19:12:48 +00:00
Volker Ruppert
7cd7ebeaa3 - dma 16-bit read/write functions added (untested) 2001-12-17 18:08:02 +00:00
Volker Ruppert
b3c9c1e8b1 - implementation of the DMA-2 controller (not complete) 2001-12-16 17:19:07 +00:00
Volker Ruppert
16f84392c1 - the patch of Christophe Bothamy is checked in and works, so this file is obsolete 2001-12-14 22:17:56 +00:00
Christophe Bothamy
4f1b2334b2 - Deleted patch as i commited it in main code 2001-12-14 18:05:34 +00:00
Bryce Denney
5b13f74356 - make -C isn't portable, apparantly 2001-12-13 03:05:08 +00:00
Bryce Denney
babdddd5b9 - add typecast to keep gcc happy. on openbsd it's an actual error. 2001-12-13 02:57:03 +00:00
Bryce Denney
c8e1cc0c64 - the shared library wasn't getting rebuilt because of problems in
top level Makefile.in
2001-12-13 02:11:15 +00:00
Bryce Denney
e866d69494 - improve comments a bit 2001-12-12 23:05:46 +00:00
Bryce Denney
9e8ae6d8ee - first try with plugins. This connects a somewhat hacked plex86 keyboard
plugin to bochs.
2001-12-12 23:02:41 +00:00
Bryce Denney
e0e9d2183b - check in a very broken floppy patch so I can work on it later 2001-12-12 21:35:07 +00:00
Volker Ruppert
12ee9dada7 - patch for the vga memory read/write functions in text mode 2001-12-12 18:35:30 +00:00
Volker Ruppert
c06b97077a - patch updated for bochs version 1.3 2001-12-12 18:33:37 +00:00
Christophe Bothamy
ba181fc43f Removed after include in the main code 2001-12-12 10:34:52 +00:00
Bryce Denney
fd6aee20d4 - irrelevant now 2001-12-10 19:28:08 +00:00
Bryce Denney
c1befbd716 - remove patches that have been applied already 2001-12-10 19:27:48 +00:00
Bryce Denney
87f226eb6d *** empty log message *** 2001-12-08 18:09:24 +00:00
Bryce Denney
ec7b19a7fb - applied this patch, except for system headers in iodev/Makefile.in which
I threw out.
2001-12-07 22:00:39 +00:00
Bryce Denney
6ac92c21e6 - already checked in 2001-12-07 21:52:08 +00:00