janwas
c50505f54c
read intel doc on multicore, realized it'd break our #cpu detect (which is actually critical because it determines safety of TSC). wrote new CPU detect code which should fix it (wasn't easy, grr); cannot test for lack of Pentium EE hardware ;p
...
This was SVN commit r2722.
2005-09-14 16:58:10 +00:00
janwas
0e20c08969
waio: fix spurious WARN_ERR
...
vfs: integrate hotload code
fixed a few warnings as well.
This was SVN commit r2609.
2005-08-13 17:09:57 +00:00
janwas
5299dcad86
- config: all macros are defined as 1 / 0. testing with #if allows compiler warnings (testing undefined macro) to spot misspelled macros
...
- debug: add provision for naming threads. allows adding current thread
name to log messages and displays their names in the debugger.
- replaced various if(err < 0) complain() sequences with new variants of
CHECK_ERR (see lib.h)
- fixes to mmgr/VC debug alloc enable code
- improved h_mgr error reporting (now complains when h_free fails)
- US -> UK english (partial)
- fix tex_load double-free bug
- move win32 mouse cursor code into sysdep
- error dialog is now topmost to make sure it's visible (was a problem)
- handle WM_QUIT before displaying error dialog (makes sure it's shown)
also as in previous 3 revisions.
This was SVN commit r2588.
2005-08-09 16:23:19 +00:00
janwas
ec6b78b252
rename assert2 debug_assert; use instead of all plain assert(), since there are no longer any issues (e.g. can't use while handling an exception)
...
This was SVN commit r2447.
2005-06-28 04:06:25 +00:00
janwas
b8532df921
wcpu: improve comments and fix CONTEXT bug in profiler
...
win_internal(+wtime): better names for critical sections (now name of
file)
This was SVN commit r2279.
2005-05-11 04:35:21 +00:00
janwas
468657479c
philip points out precompiled.h -> string_s.h includes posix.h - too heavy for the PCH
...
replaced that with posix_types.h, which now defines size_t.
this change exposed a lot of code that relied on posix.h being included
implicitly; fixed those as well.
This was SVN commit r2015.
2005-03-18 22:44:55 +00:00
janwas
c3da7f5e33
statically allocated per-CPU info (simplicity), and profiler WIP
...
This was SVN commit r1995.
2005-03-15 18:51:54 +00:00
janwas
38d6f81d71
add/update win-specific code+header file comment
...
This was SVN commit r1841.
2005-01-27 16:18:22 +00:00
janwas
e332d876f8
stomped various lint warnings:
...
- /* */ -> //
- clarified expressions
- add casts
- func() -> func(void)
- signed/unsigned
This was SVN commit r1773.
2005-01-23 17:48:32 +00:00
janwas
4577ad00dc
fix include path
...
This was SVN commit r870.
2004-07-31 19:47:40 +00:00
janwas
bed0e644c4
now mostly last-error-neutral (helps spot warnings+errors)
...
This was SVN commit r721.
2004-07-12 14:25:39 +00:00
Ykkrosh
12170cabeb
Headers for non-PCH
...
This was SVN commit r611.
2004-06-28 15:34:10 +00:00
janwas
da7d60e3ec
fixed HT detect (thanks to philip for testing)
...
This was SVN commit r590.
2004-06-23 13:45:50 +00:00
janwas
d633fd201d
add code to check if system is SMP (needed for wtime; not trivial, since hyperthreading may be in play)
...
This was SVN commit r588.
2004-06-22 17:20:38 +00:00
janwas
0d4f9b8a00
add on_each_cpu comments
...
This was SVN commit r582.
2004-06-21 14:22:33 +00:00
janwas
a27224db69
split out of wdetect; added some code for hyperthreading support (incomplete)
...
This was SVN commit r553.
2004-06-19 14:36:59 +00:00