Commit Graph

1062 Commits

Author SHA1 Message Date
Luke Usher 6d0698b3ed Merge branch 'LLE' 2016-11-21 20:10:34 +00:00
Luke Usher e8ce8d3e51 LLE merge 2016-11-21 20:09:59 +00:00
PatrickvL 2522524c4e Added UNIMPLEMENTED stubs for al Ex* kernel functions 2016-11-21 16:16:24 +01:00
PatrickvL 172ad2f21c Restored original distinction between "unimplemented" and "ignored" 2016-11-20 14:52:47 +01:00
PatrickvL ef9c55f373 Introduced RETURN macro, applied in all Emu* files (again except DSound and D3D).
Also renamed UNIMPLEMENTED to LOG_UNIMPLEMENTED, applied in more places.

Also introduced LOG_IGNORED, applied where appropriate.
2016-11-20 14:43:38 +01:00
PatrickvL 133f6f8d4b Merge remote-tracking branch 'refs/remotes/LukeUsher/master' 2016-11-20 12:53:19 +01:00
Luke Usher ad57542273 Fix duplicated Build/ directory 2016-11-19 21:54:39 +00:00
PatrickvL 390c52a699 Merge remote-tracking branch 'refs/remotes/LukeUsher/master' 2016-11-16 01:47:04 +01:00
PatrickvL 8ac1267149 This too 2016-11-16 01:43:20 +01:00
PatrickvL 5640d74248 Slowly working my way through adding UNIMPLEMENTED skeletons
Rtl* functions can be passed-through to host - as soon as headers are
defined...
2016-11-16 01:43:10 +01:00
PatrickvL 456c5b1c1f Added UNIMPLEMENTED skeletons for remaining Av* and Dbg* kernel entries 2016-11-16 00:34:49 +01:00
Luke Usher 7a77d3b22d Restore Cxbx-Reloaded branding
This got removed while dealing with the accidental LLE merge
2016-11-15 22:10:30 +00:00
Luke Usher cc024e870f Fix compilation in release mode.
_DEBUG_TRACE is undefined in release builds, leading to compiler errors.
2016-11-15 21:45:11 +00:00
Luke Usher 3e1f3d2073 Unimplemented warnings should always log, even if not a debug build 2016-11-15 21:42:09 +00:00
Luke Usher 8aa099f2a3 Merge pull request #18 from PatrickvL/master
here you go
2016-11-15 21:23:06 +00:00
PatrickvL 0fcf89946f Split up EmuKrnl.cpp over separate files (just like in Dxbx)
Also pruned unneeded  #include's and placed more UNIMPLEMENTED macro's
2016-11-15 18:12:10 +01:00
PatrickvL 399483c954 Defined UNIMPLEMENTED macro and applied where applicable
Again, not in EmuD3D and EmuSound, as those are going to be LLE'd
sometime soon(ish)
2016-11-15 17:12:50 +01:00
PatrickvL 61835e7c4b Proof of concept : Split off xboxkrnl::Av* methods into it's own .cpp file
This seems to work, so I'll probably split off all others too (just like
I did in Dxbx)
2016-11-15 17:00:29 +01:00
PatrickvL ffc20a5c1f Moved internal NT stuff to NtDll.h 2016-11-15 16:48:41 +01:00
PatrickvL d802a6f8b6 Swapped SystemTime and InterruptTime to their correct indices
Also defined and used (first part of) KUSER_SHARED_DATA struct
2016-11-15 14:41:27 +01:00
PatrickvL 81f9722cc6 EXPORTNUM correction and ordering 2016-11-14 20:40:44 +01:00
PatrickvL 3ade9fce9d Couple the xbox thunks for xboxkrnl::KeInterruptTime and xboxkrnl::KeSystemTime to their actual counterparts on Windows
This way we won't have to spend any time on updating them ourselves, and
still get highly accurate timers!

(Untested. Ported back from Dxbx)
2016-11-14 18:18:12 +01:00
PatrickvL ae9d663af3 Added more variables to the kernel thunk table
Last two variables yet to replace : KeInterruptTime, KeSystemTime
2016-11-13 00:59:47 +01:00
PatrickvL 0df04c2f45 Added a few more variables to the kernel thunk table 2016-11-13 00:46:56 +01:00
PatrickvL 4b710b79a5 This too (is becoming a habit) 2016-11-12 23:54:57 +01:00
PatrickvL 82d36a2470 Corrected a few OpenXDK declarations so they can compile into the kernel thunk table. 2016-11-12 23:54:26 +01:00
PatrickvL 3f44fab149 This too 2016-11-12 20:18:22 +01:00
PatrickvL 2ec224d168 Added more variables to kernel thunk table
How to solve conflicts with incorrect OpenXDK declarations?
2016-11-12 20:18:11 +01:00
PatrickvL d411f1364f Added MmGlobalData, registered in kernel thunk table 2016-11-12 01:27:06 +01:00
PatrickvL 02e774d337 Missing newline 2016-11-12 00:37:33 +01:00
PatrickvL ef37bc8ad2 Argument logging now works
Experimenting with rendering specific types, it's starting to look good.
2016-11-11 15:17:29 +01:00
PatrickvL 4f7a233391 EXPORTNUM corrections 2016-11-11 11:49:05 +01:00
PatrickvL 92fd51a61c Simpler NTSTATUS to string conversion 2016-11-11 11:37:00 +01:00
PatrickvL 2e4b7f6464 Fixed typos 2016-11-11 11:08:50 +01:00
PatrickvL 734fb6504b This too 2016-11-11 11:05:24 +01:00
PatrickvL 334b98bb0f Updated and extended thunk table
Used Dxbx as a reference
2016-11-11 11:05:05 +01:00
PatrickvL 9cdec950b6 Corrections 2016-11-11 00:55:17 +01:00
PatrickvL 85b51ab3c4 Added a few logging overloads for a few types
Eventually, all logged types need to be covered.
2016-11-11 00:30:09 +01:00
PatrickvL 21ac7bc71d Updated all logging to use new macro's
Removed DbgFunc* variadic macro's.
2016-11-10 23:57:21 +01:00
PatrickvL b379ca30da WIP 2016-11-10 17:46:49 +01:00
PatrickvL fb6d6fd321 Got most of the new Dbg macro's working, except the most important one (the call to DbgFuncHexArg) 2016-11-08 17:23:32 +01:00
PatrickvL 2b240faffd Prevent redefined status warning
From
f24486fa17
2016-11-08 13:57:13 +01:00
PatrickvL 1e15027bd0 Small cleanuo, macro's not fully functional yet 2016-11-08 00:45:40 +01:00
PatrickvL 966745cfe6 Renamed DbgFuncArgs to DbgFuncFmtArgs, added DbgFuncHexArgs
DbgFuncHexArgs doesn't need a format string anymore, because of creative
use of macro defines.

Note : This is not tested yet!
2016-11-07 14:56:46 +01:00
PatrickvL 89b2a5cf5f Small speedup in Mutex::Lock() 2016-11-07 11:39:27 +01:00
PatrickvL 3f47c7bef5 Removed useless #ifdef _DEBUG_TRACE checks surrounding single DbgPrintf statements (since this checks _DEBUG_TRACE itself already) 2016-11-07 11:39:10 +01:00
PatrickvL 94d3fbbffe Replaced DbgPrintg EmuKrnl with DbgFuncArgs, avoiding typos altogether 2016-11-07 11:38:59 +01:00
PatrickvL 02708b4f1f Revert unintentional update with LleContrib
Reverted
bd7e18330d

via :
git revert -m1 bd7e183
edit src\Cxbx.h # manually fixed conflict
git add src\Cxbx.h

Commit
2016-11-07 08:43:44 +01:00
PatrickvL 54327cf829 Merge remote-tracking branch 'refs/remotes/LukeUsher/master' 2016-11-07 08:09:05 +01:00
PatrickvL 8f8fbd633b More typo corrections 2016-11-06 19:27:44 +01:00