Commit Graph

18 Commits

Author SHA1 Message Date
Volker Ruppert
e5eac65b59 - removed wrong character from FSF address (converted invisible and useless
2-byte character)
- updated FSF address in some files
- added license to some files
2009-02-08 09:05:52 +00:00
Stanislav Shwartsman
d56c3a18aa reduce include dependencies in iodev.h
Makefile.in in iodev folder have to be regerated !
2008-12-29 20:16:08 +00:00
Stanislav Shwartsman
071c5c1a26 A lot of changes but everything is really trivial.
Make save/restore default feature, the configure option for save/restore removed from configure script and save/restore made available forever. All code now assume it is exists. Bochs save/restore tree previosly called "save_restore" renamed to "bochs" tree and it will be havily used everywhere, starting from save/restore and ending by various bochs debugger functions. I am going to rework debugger code to get rid of debug CPU access functions and use this "bochs" param tree instead
2007-09-28 19:52:08 +00:00
Stanislav Shwartsman
8b0df8e99b Merge SAVE_RESTORE branch to CVS 2006-05-27 15:54:49 +00:00
Volker Ruppert
e662318422 - fixed timer IRQ handler with a callback function for the OUT pin (OUT pin of
the first timer is connected to IRQ line 0)
- code cleanup (indent mode, bool types, reset function, unused stuff)
2006-01-08 20:39:08 +00:00
Daniel Gimpelevich
6708807b38 Applied SF patch #694889. 2004-01-16 16:30:46 +00:00
Christophe Bothamy
50efc3b8c7 - apply Conn Clark's patch.perf-regparm-cclark :
- it works only on x86 with gcc2.95+
  - uses the GCC function atribute "regparm(n)" to declare that certain
    functions use the register calling convention
  - performance improvement is about 6%
2003-03-02 23:59:12 +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
Gregory Alexander
eca4aa0720 Fixed the PIT gate and improved the PIT printing options. 2002-02-21 19:22:42 +00:00
Bryce Denney
daf2a9fb55 - add RCS Id to header of every file. This makes it easier to know what's
going on when someone sends in a modified file.
2001-10-03 13:10:38 +00:00
Gregory Alexander
67f4ebe68d Changed OUT to OUTpin.
Modified Files:
 	pit82c54.cc pit82c54.h
2001-09-29 15:31:13 +00:00
Gregory Alexander
9aa7a88028 Lots of timer stuff.
Fixed a "feature" in pc_system.cc with setting timers to small values
that can cause bochs to hang.

Significantly improved the performance of the new PIT.
It's probably ready to become the default now.

Added a preliminary implementation of the slowdown timer
that Bryce and I had talked about.
2001-08-18 03:28:23 +00:00
Gregory Alexander
fc0ee2dc3e Added compiler define to use the new PIT.
Also added a hack to keep the OpenBSD timer problem from filling the log.

The new PIT seems to work, but until some
enhancements are made to the way the timers
and devices.cc work, it'll be slower than
the old one.
2001-07-01 20:49:46 +00:00
Bryce Denney
13ff8b1870 - use #undef to avoid name conflicts with OUT. OUT is the name of
part of a pit structure, but is also defined in the system headers
  on some systems.
2001-06-28 01:36:11 +00:00
Gregory Alexander
85b5157a7e Added significant improvements to the new pit. It's about ready for use.
The only big thing it's lacking right now is testing, which is a
little difficult to do, considering the new interface.  Oh, well.
2001-06-27 22:25:24 +00:00
Gregory Alexander
d243a4d6cd Updated pit, fixed a compile problem under AIX. 2001-06-12 23:55:53 +00:00
Bryce Denney
17f2be70b9 - removed LOG_THIS from header file, since it was already defined in the
.cc files
2001-06-11 06:21:07 +00:00
Gregory Alexander
3a58858042 Added a .h file for the pit. 2001-06-11 00:16:24 +00:00