Commit Graph

507 Commits

Author SHA1 Message Date
Ben Vanik
da630cc159 Starting to clean up thread state. 2015-05-16 16:34:14 -07:00
Ben Vanik
147a70b9c1 Rewriting memory manager. 2015-05-17 00:16:56 +01:00
Ben Vanik
6239ff9616 Disabling thread state 0x150 set. 2015-05-16 01:49:57 -07:00
Ben Vanik
8d4f54e240 Thread state updates. 2015-05-16 01:45:56 -07:00
Ben Vanik
88596611d1 Thread tweeks. 2015-05-16 00:12:25 -07:00
Dr. Chat
e6b4c6056f Calculate xex size based on the total size of all of the sections 2015-05-14 21:54:18 -05:00
Ben Vanik
380fabebe7 async errors. 2015-05-14 17:13:54 -07:00
Ben Vanik
9ea88ff901 Hack for testing completion routines - this is not correct.
Assert left in on purpose.
2015-05-14 16:35:46 -07:00
Ben Vanik
46eedeab01 Fixing up some overlapped completion routine stuff. 2015-05-14 16:35:29 -07:00
Ben Vanik
abf7b794e6 Adding --headless and basic message box UI. 2015-05-14 16:21:08 -07:00
gibbed
6fe545b3e9 Return X_ERROR_PATH_NOT_FOUND instead of X_ERROR_FILE_NOT_FOUND in XamContentCreateCore. 2015-05-14 17:02:28 -05:00
gibbed
61f4095851 Set thread affinity of the specific thread, not the current thread. 2015-05-14 17:02:28 -05:00
gibbed
283f5269d5 Create native threads with default stack size. 2015-05-14 17:02:27 -05:00
gibbed
ac1a805b8e Implemented RtlNtStatusToDosError lookup tables. 2015-05-14 13:41:45 -05:00
gibbed
169c0fd26b Oops. Sorting. 2015-05-14 12:01:24 -05:00
gibbed
20144709e3 Added xboxkrnl_error.cc/.h and moved RtlNtStatusToDosError to it. 2015-05-14 11:59:50 -05:00
Dr. Chat
398a412707 Inherit exe stack size if user doesn't specify one 2015-05-14 00:59:29 -05:00
Ben Vanik
6aec2c0d02 Whoops. I'm tired. 2015-05-13 00:38:55 -07:00
Ben Vanik
3b2035a054 Adding case for ObReferenceObjectByHandle, but impl still todo. 2015-05-13 00:37:35 -07:00
Ben Vanik
7622746ecf 4A seems more legit for video mode unk. Still no clue what it is. 2015-05-12 21:41:44 -07:00
gibbed
c00ded9fbc Fixed VdQueryVideoFlags. 2015-05-12 22:59:21 -05:00
gibbed
95080cefa2 Fixed second argument in XamEnableInactivityProcessing. 2015-05-12 21:56:24 -05:00
Ben Vanik
5fbdd6e262 Fixing XMP playlist handles. 2015-05-12 19:55:10 -07:00
gibbed
fc9f9d9a60 This is probably more correct. Gets rid of all xobject related asserts for several games. 2015-05-12 06:51:30 -05:00
Ben Vanik
7a00b76a6e Debugger stuff, and changing to vcproj's/sln. 2015-05-09 17:48:12 -07:00
Ben Vanik
4411a4499d XEX-style exports, dumping exports, and prepping kernel export lookup. 2015-05-09 00:59:03 -07:00
Ben Vanik
23eb343484 Calling DllMain, fixing ref count, and fixing module search. 2015-05-09 00:56:42 -07:00
Dr. Chat
0f2b1491b7 Call a DLL's entry-point function in XexLoadImage 2015-05-08 22:51:03 -05:00
Dr. Chat
8deb622abb Execute module entry-point function if it has one. 2015-05-08 22:50:54 -05:00
Ben Vanik
ade5388728 bool-ifying xe::cpu 2015-05-05 18:52:54 -07:00
Ben Vanik
b07d5b8ed3 Fixing compile warnings. 2015-05-05 18:52:37 -07:00
Dr. Chat
bffd2624fc Lookup XEX export by ordinal 2015-05-05 18:54:01 -05:00
Dr. Chat
54d84f04e3 XamLoaderLaunchTitle log parameters 2015-05-05 15:17:45 -05:00
Ben Vanik
649eb1cf8e Merge pull request #190 from DrChat/load_module
XexLoadImage support for user modules
2015-05-04 20:32:12 -07:00
Ben Vanik
442e5f2840 clang-format 2015-05-04 20:24:02 -07:00
Dr. Chat
1b111f0313 Thread safety 2015-05-04 22:16:48 -05:00
Dr. Chat
f12a8dbe20 Release modules on destruction 2015-05-04 22:07:58 -05:00
Dr. Chat
9f0663efa2 XexLoadImage for user modules 2015-05-04 22:03:14 -05:00
Dr. Chat
d86674ed82 Whoops 2015-05-04 21:39:43 -05:00
Dr. Chat
9603a0a683 Formatting 2015-05-04 20:58:30 -05:00
Dr. Chat
1571c51a56 Kill some unused code 2015-05-04 20:33:04 -05:00
Dr. Chat
e90475a31b kill the TODO 2015-05-04 20:26:18 -05:00
Dr. Chat
6a602affed Don't parse loader export table for now (since it's referenced to with an exact address) 2015-05-04 18:16:31 -05:00
Dr. Chat
211cd0760a Use header->exe_address instead (in-case the module is relocated) 2015-05-04 18:11:39 -05:00
Dr. Chat
be3d729831 Implemented this too (XexGetProcedureAddress) 2015-05-04 18:03:03 -05:00
Dr. Chat
49c8efdc6d XexGetProcedureAddress by name implemented. 2015-05-04 18:02:57 -05:00
Ben Vanik
78921c1a7e Merging Runtime into Processor. 2015-05-03 22:28:25 -07:00
Ben Vanik
4c8f3501ad Removing xdb and old tracing code before rewrite. 2015-05-03 22:01:31 -07:00
Ben Vanik
d1ee1512b9 Fixing most clang-format errors. 2015-05-03 10:27:50 -07:00
Ben Vanik
e3220f7ae6 Code cleanup: moving poly/ into xenia/base/ 2015-05-02 03:42:51 -07:00