Commit Graph

318 Commits

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