Volker Ruppert
b61b9d255a
Moved all Bochs multi-threading definitions from bochs.h and osdep.h to a new
...
file called "bxthread.h".
2017-09-10 15:55:13 +00:00
Volker Ruppert
ad9f1c3417
Moved event / wait stuff from the Voodoo code to osdep.cc fot the usage in
...
other parts of Bochs.
2017-09-10 06:50:07 +00:00
Stanislav Shwartsman
2a55ba0a39
Merge set of debugger improvements by Doug Gale <doug16k>
...
Here is his original comment:
I have made several improvements in the debugger.
I have fixed several issues with proper handling of 64-bit addresses, and added support for 64 bit symbols.
I also have added several symbol lookups.
2017-08-22 21:03:58 +00:00
Volker Ruppert
5abc3e647f
Fixed some MSVC warnings in the debugger code.
2014-12-23 11:53:35 +00:00
Volker Ruppert
a9e3a657f7
MSVC compilation fix
2014-02-06 22:00:29 +00:00
Volker Ruppert
fb70da3e3e
Added check for type ssize_t
...
List the supported ethernet modules
2013-12-04 17:04:15 +00:00
Volker Ruppert
f8ea396a2c
Several fixes for compiling Bochs successfully in Cygwin64
2013-11-01 18:19:52 +00:00
Volker Ruppert
800da0f390
some fixes for Bochs on MorphOS (based on a patch by Thore Sittly)
...
- byte-swapping stuff fixed
- TODO: gui fixes in the amigaos.cc code
2013-05-24 17:58:49 +00:00
Volker Ruppert
bb9eaec2dc
some fixes for Bochs on MorphOS (based on a patch by Thore Sittly)
...
- missing functions fseeko() and localtime_r() implemented in osdep.cc
- updated cdrom_amigaos.cc code
2013-04-12 17:26:27 +00:00
Stanislav Shwartsman
7188166653
added more FMT_PHY_ADDRX64 cases definition
2013-02-12 21:33:00 +00:00
Stanislav Shwartsman
66c9274bdb
max physical addr size is 48 bit so print less characters
2013-02-12 21:26:23 +00:00
Volker Ruppert
fb0e05e36c
- fixed compilation with large ramfile support present on MSVC
2012-08-26 14:43:14 +00:00
Stanislav Shwartsman
644c7c6289
undo bxswap change - it breaks build with bx_debugger enabled. error - multiple definition of bx_swap16 in parser.o and lexer.o
2011-12-28 22:43:18 +00:00
Stanislav Shwartsman
c62426145a
moved bx_bswap definition into osdep.h so bximage tool can also include them
2011-12-28 22:17:12 +00:00
Stanislav Shwartsman
01f27e3a0c
this should fix bug report 3422638 large ramfile support broken on anything but Linux
2011-10-15 19:29:42 +00:00
Stanislav Shwartsman
f425400af5
fixed warnings from compilation with mingw-gcc 4.6.1
2011-09-30 20:38:18 +00:00
Volker Ruppert
e4fe7f0c8f
- add some symbols required by MSVC for device plugins
2011-06-15 21:55:48 +00:00
Stanislav Shwartsman
e2e0e176e4
fixed configure for M$
...
strtoull is widely used by Bochs but osdep.cc method is NOT working correctly for all cases
I occasinally saw it with MSDEV. But MSDEV supports this function natively
TODO: replace osdep.cc function as well
2011-03-03 16:03:59 +00:00
Stanislav Shwartsman
00981cd7a6
Adding Id and Rev property to all files
2011-02-24 22:05:47 +00:00
Volker Ruppert
2bb3d74f70
- fixed handling of modified files if the first cluster has been changed
...
- handle deletes only after parsing the new directory tree
- show file attributes bits that have been modified
2011-01-09 19:20:11 +00:00
Volker Ruppert
a12768b06d
- fixed Bit64u/Bit64s format warnings on 64-bit Linux
2011-01-02 16:13:06 +00:00
Stanislav Shwartsman
8d46433679
compilation fixes for mingw64 gcc
2010-11-01 14:50:18 +00:00
Stanislav Shwartsman
5fec008130
change copyright to bochs project
2009-12-04 20:02:12 +00:00
Stanislav Shwartsman
d1dff34997
right fix for msvcpp problem
2009-10-02 16:11:06 +00:00
Alexander Krisak
3989211643
another msvc6 compilation fix
2009-10-02 15:28:42 +00:00
Stanislav Shwartsman
7233fdf3c1
fixed non-printable character
2009-08-22 19:30:23 +00:00
Volker Ruppert
b6aa6b3f47
- fixed some warnings when compiling with VS2008Ex
...
* converted some functions to ISO-C syntax
* use Sleep() instead of _sleep()
* now using type Bit32u for cdrom LBA
2009-04-21 15:37:17 +00:00
Stanislav Shwartsman
6b790b9069
Fixed compilation error with undefined _stricmp in MSDEV
2009-02-25 16:27:31 +00:00
Volker Ruppert
3a470c9d11
- names of bx_list_c members are now compared case insensitive
...
- added configure check and osdep code for the stricmp function
- minor changes in siminterface
2009-02-02 13:03:28 +00:00
Stanislav Shwartsman
9929e6ed78
- updated FSF address
2009-01-16 18:18:59 +00:00
Stanislav Shwartsman
55ad3e89b6
another whitespace cleanup by Sebastien
2008-02-05 22:57:43 +00:00
Stanislav Shwartsman
e8ec9e854b
Remove redundant 0x from FMT_ADDRX macro for cygwin
...
Moved 'show "tab"' command to 'info' (use 'info tab' now)
Fixed printing of the command
2006-02-11 20:47:22 +00:00
Stanislav Shwartsman
a0345031cf
forgot to remove '0x' from FMT_ADDRX fro mingw
...
fix dump_table function to use CPU paging translation method instead of old debugger method which not supported PAE and other paging features
2006-01-28 15:10:33 +00:00
Stanislav Shwartsman
7974f9135d
Remove '0x' from address printf format
2006-01-27 21:35:45 +00:00
Stanislav Shwartsman
83300a66dd
Fixed printing of 64-bit values forma. When compiling with cygwin with -mno-cygwin option the format should be like in MSVC
2006-01-17 18:17:01 +00:00
Volker Ruppert
c36d0c38e7
- fixed crash after debugger command 'show "call"' (mingw doesn't like %ll and
...
%*s in one statement)
- defined platform dependant symbol FMT_TICK for cpu ticks output to logfile and
debugger console
- fixed indent mode in function bx_dbg_symbolic_output()
2004-09-19 18:38:09 +00:00
Volker Ruppert
99a42a8dbc
- applied SF patch #838601 : support for > 2 GB disk size with MSVC++
...
- support for non-standard disk sizes 1.68 MB and 1.72 MB in bximage
- large disk support also works now if compiled in msys/mingw
2004-08-19 19:42:22 +00:00
Stanislav Shwartsman
5c5b556f24
Merge softfloat-fpu-implementation_ver4_branch branch
2004-06-18 14:11:11 +00:00
Christophe Bothamy
c6d65e3694
- add check for vsnprintf availability and emulate with vsprintf if not found
2004-02-08 10:22:29 +00:00
Jeroen Janssen
5a023a8ad5
applied slowdown timer crosscompile fix
2003-08-20 06:26:27 +00:00
Volker Ruppert
d1652093ac
- applied some parts of the patch from Andrew Zabolotny <zap@cobra.ru>
...
* changed all %ll format descriptions to FMT_LL macro so that
Microsoft Visual C works correctly (it uses %I64)
* missing type conversions added
* cdrom.cc: variable types for win32 fixed
* removed some unused variables in eth_win32.cc and harddrv.cc
* added missing includes in make_cmos_image.c and niclist.c
2003-06-07 19:16:55 +00:00
Christophe Bothamy
f85cb89a32
- new fix for cygwin compilation
2003-05-06 21:53:36 +00:00
Christophe Bothamy
758b28c9f8
- add mkstemp replacement function and S_I???? defines when not present
2003-05-06 20:28:13 +00:00
Christophe Bothamy
e6ff0a8560
- add check for strrev and implementation if not found
2003-01-10 22:32:46 +00:00
Christophe Bothamy
16ebfdb9e1
- update for macos compile
2002-12-12 15:29:45 +00:00
Bryce Denney
983b8f0962
- the #define of off_t to "long" was causing problems when compiling
...
textconfig.cc. I can't quite explain why it wasn't a problem before,
but it's certainly a problem now. In fact VC++ does define off_t, so
I removed the #define entirely.
2002-11-15 18:11:40 +00:00
Gregory Alexander
249131fbed
I added a support function to osdep.
...
The function gets the real time in useconds and puts it in
a Bit64u. This function is defined when:
BX_HAVE_REALTIME_USEC is 1.
Right now, BX_HAVE_REALTIME_USEC is defined to be BX_HAVE_GETTIMEOFDAY
and bx_get_realtime64_usec is defined in terms of gettimeofday().
However, it could be defined in terms of any other method of obtaining
the current time accurate to the usecond. That is why I moved the
function to osdep and added the new define.
2002-09-23 02:20:52 +00:00
Bryce Denney
41767f5a5f
- add configure check for socklen_t, define as int if not already there.
2002-03-08 04:45:00 +00:00
Bryce Denney
f5e8e651fe
- in cygwin when compiling with -mno-cygwin, ssize_t is not defined. So I
...
moved it outside the ifndef __MINGW32__ block.
2002-03-06 18:04:58 +00:00
Bryce Denney
dbb6d5f821
- remove my ill-conceived configure test for wsprintf. It really is
...
available in cygwin, and I don't know what I was thinking before.
2001-10-05 13:52:25 +00:00