Commit Graph

227 Commits

Author SHA1 Message Date
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