Commit Graph
302 Commits
Author SHA1 Message Date
Glenn Maynard 02ed651ed3 go away, Linux, I'll do it myself 2004-06-15 00:31:12 +00:00
Sean Burke 00c8d1ef80 Make sure CPU_PPC is defined before defining __KERNEL__ 2004-06-15 00:29:55 +00:00
Glenn Maynard d9f5ba7821 try extern C-ing asm/byteorder.h 2004-06-14 22:00:22 +00:00
Glenn Maynard a6047d407f revert; this is here for a reason, please don't change core files if you don't understand them 2004-06-14 21:53:01 +00:00
Fred Wulff 32c5e5720a Linux fix 2004-06-14 21:25:42 +00:00
Steve Checkoway 10c69f957d Define CRASH_HANDLER. 2004-06-14 11:02:12 +00:00
Sean Burke ae40217dff Fix possible compile error on PPC Linux. 2004-06-14 11:02:09 +00:00
Glenn Maynard 12fc5b9440 add EmergencyShutdown 2004-06-14 07:06:37 +00:00
Glenn Maynard 66397a57d3 add HAVE_SDL 2004-06-14 03:23:44 +00:00
Glenn Maynard 04aa247bd7 add HAVE_SDL 2004-06-14 03:16:44 +00:00
Glenn Maynard 6de244ebb1 fix stack framing (why is vc so bad at inline asm?) 2004-06-14 03:02:16 +00:00
Glenn Maynard a69428d17b explicit RET (return value goes in EAX) 2004-06-14 02:10:47 +00:00
Glenn Maynard 49259c1b12 fix ArchSwap24 2004-06-13 23:14:13 +00:00
Glenn Maynard 5a81e7a80e move some vc hacks into arch_setup 2004-06-13 19:06:54 +00:00
Glenn Maynard d0361ce63f stdint.h on all unix 2004-06-13 07:56:33 +00:00
Glenn Maynard 186f840e20 fix RageThread::HaltAllThreads crash causing the crash handler to
exit with no output
2004-06-13 06:47:02 +00:00
Steve Checkoway ec57fec75d Define ArchSwapx(n) to OSSwapIntx(n). For constants, OSSwapIntx uses the preprocessor, For non-constants, it uses inline assembly. Add some typedefs and #defines to work around namespace pollution. 2004-06-12 09:37:59 +00:00
Steve Checkoway 37235e6287 Define ArchSwapx(n) to OSSwapIntx(n). For constants, OSSwapIntx uses the preprocessor, For non-constants, it uses inline assembly. 2004-06-12 08:48:45 +00:00
Glenn Maynard 597929d870 ENDIAN_LITTLE, byte swaps 2004-06-12 07:58:31 +00:00
Glenn Maynard 0f95a58936 ENDIAN_BIG 2004-06-12 07:57:19 +00:00
Glenn Maynard da2cd0686c fix 2004-06-12 07:46:09 +00:00
Glenn Maynard 59fce6b7ca linux arch_setup 2004-06-12 07:23:23 +00:00
Glenn Maynard 0805aef930 ForceCrashHandlerDeadlock is only implemented in Linux 2004-06-12 01:01:30 +00:00
Glenn Maynard 00fb88edb8 update 2004-06-11 21:36:31 +00:00
Glenn Maynard ef219fce39 small fixes preparing for arch/Threads 2004-06-11 07:09:43 +00:00
Steve Checkoway f2a30de96d Yet another hack. 2004-06-06 21:39:43 +00:00
Thad Ward da10ebd869 fix compile error. (from VC6 anyway) 2004-06-06 11:34:26 +00:00
Glenn Maynard 88ed052924 GetFileVersion, FindSystemFile helpers 2004-06-06 07:19:01 +00:00
Glenn Maynard fe22f570d2 cleanup 2004-06-06 07:17:50 +00:00
Glenn Maynard 70ff76babe fix typo 2004-05-30 03:04:27 +00:00
Glenn Maynard 35262ddc9a update 2004-05-29 23:19:42 +00:00
Glenn Maynard 5ef80799c9 move some Windows build junk out of the top directory
cleanups while moving things: StepMania.ICO -> StepMania.ico,
StepMania.RC -> WindowsResources.rc, resource.h -> WindowsResources.h,
error.bmp -> DialogCrashHeader.bmp, error2.bmp -> DialogErrorHeader.bmp
2004-05-29 23:15:18 +00:00
Glenn Maynard c7971212b2 simpler AppInstance use 2004-05-29 22:48:53 +00:00
Glenn Maynard b1a320fc95 Linuxthreads (pre-NPTL) sigaltstack is broken even if we're in 2.6. 2004-05-27 04:57:15 +00:00
Glenn Maynard dbef3cc14f export UsingNPTL 2004-05-27 04:56:09 +00:00
Glenn Maynard 73e5838b97 fix InitializePidThreadHelpers sometimes doing emory allocation in crash conditions
fix InitializePidThreadHelpers initializing multiple times
2004-05-25 06:54:37 +00:00
Glenn Maynard 63a034f207 always log EIP in backtraces 2004-05-18 06:55:49 +00:00
Steve Checkoway 163edbe314 hack around strange istream problem (as the comment says, it doesn't belong in this file, but whatever). 2004-05-16 09:33:58 +00:00
Glenn Maynard e8e33efa87 license update 2004-05-15 20:13:19 +00:00
Glenn Maynard 0a59a81d66 Crash handler from VirtualDub X11-licensed by Avery Lee. Special thanks
for that--it's the single most important piece of code in the project.  (Ever
try to track a crash without a backtrace?)
2004-05-15 08:34:10 +00:00
Glenn Maynard af88a2be4f Asserting copyright on a signal handler is dumb, but disclaiming warranty isn't. 2004-05-15 08:27:42 +00:00
Glenn Maynard c51a588a45 license update 2004-05-15 08:23:53 +00:00
Glenn Maynard a10ad4c232 work around vc6 brain damage; it can't figure out that "short" == "__int16",
etc
2004-05-14 05:37:05 +00:00
Glenn Maynard 25a50d0052 implement usleep 2004-05-13 21:09:42 +00:00
Glenn Maynard f8090d709a #define CRASH_HANDLER 2004-05-06 09:14:10 +00:00
Glenn Maynard c4d501081f s/__THROW/throw()/
fix assertion handling when !CRASH_HANDLER
improve assertion handling output
2004-05-06 09:08:41 +00:00
Glenn Maynard 24af9a4825 add SignalHandler::ResetSignalHandlers 2004-05-06 08:40:53 +00:00
Glenn Maynard e5de37f23c fix HAVE_DECL_SIGPWR check 2004-05-06 08:26:09 +00:00
Glenn Maynard eeb79a5ee0 implement missing lrintf 2004-05-01 05:17:58 +00:00
Glenn Maynard 18167e013e registry access cleanup
log system drives and whether DMA is enabled (for skip diagnostics)
2004-04-25 03:49:05 +00:00