Commit Graph

108 Commits

Author SHA1 Message Date
Dr. Chat
ce92dd5691 ObjectTable Save/Restore (and overloads/PurgeAllObjects/GetAllObjects) 2015-12-29 13:09:19 -08:00
sephiroth99
a281f6d70d ObjectTable: Remove explicit specialization in class scope
Function template 'LookupObject' in ObjectTable class has
a specialization in class scope, which is not allowed.

While MSVC seems OK with that, clang complains about it.

Fix this issue by moving the definition of the specialisation
outside the class scope, and moving the declaration in the
'.cc' file.
2015-12-17 01:04:44 -05:00
Ben Vanik
15816327b4 Renaming xe::cpu::frontend to xe::cpu::ppc. 2015-12-14 21:17:55 -08:00
Ben Vanik
1956b8708e Fixing include orders and whitelisting others.
Will be broken until clang SVN 253772 is available on travis/snapshots.
2015-11-21 11:34:46 -08:00
Dr. Chat
4dfe1addaa Verify that LookupObject actually returns an object of the requested type. 2015-11-12 19:06:15 -06:00
Dr. Chat
b12480820c word_t shim parameter 2015-09-25 18:38:33 -05:00
Dr. Chat
f5ee6f4cf5 XEX2 lan key header 2015-09-25 18:38:10 -05:00
Ben Vanik
e5fbf840d2 Shuffling kernel/. 2015-09-06 18:07:52 -07:00
Ben Vanik
8588fbc6cf Shuffling kernel util types to util/. 2015-09-06 13:45:52 -07:00
Ben Vanik
6c07eb8e5c Faster RtlFillMemoryUlong. 2015-09-05 14:38:07 -07:00
Ben Vanik
311b65537d --log_high_frequency_kernel_calls (defaults to false) to cull some lines. 2015-09-01 18:20:08 -07:00
Ben Vanik
a86b3821f2 Adding thread handle to logging. 2015-08-29 20:49:26 -07:00
Ben Vanik
8b0d4fb51c Linux tweaks. 2015-08-18 14:18:00 -07:00
Ben Vanik
a92566dfc5 More style. 2015-08-07 21:29:03 -07:00
Ben Vanik
14beb27ebc xb style. 2015-08-07 07:56:57 -07:00
Ben Vanik
5e08889d93 More style cleanup. 2015-08-06 20:17:01 -07:00
Dr. Chat
e37479c7b0 Convert strings before returning them 2015-07-27 18:23:11 -05:00
Dr. Chat
c536053dec Fix improper getting arguments from stack
Also fix PrimitivePointerParam conversion error
2015-07-24 23:08:55 -05:00
Ben Vanik
5bd7833e87 More clang fixes. xenia-kernel is clean. 2015-07-19 21:29:06 -07:00
Ben Vanik
bebda48a4f More clang fixes. 2015-07-19 20:46:14 -07:00
Ben Vanik
91d7acf59e Fixing some particularly bad /W4. 2015-07-18 23:04:21 -07:00
Ben Vanik
ecd4af10c9 Fixing some clang warnings/errors. 2015-07-15 23:26:58 -07:00
Ben Vanik
f520d3a2a4 Run with latest clang-format. 2015-07-15 22:44:30 -07:00
Dr. Chat
f0060f8335 Allow direct typecasting of Result shim util class 2015-07-11 18:14:33 -05:00
Dr. Chat
1788ee1589 Linting. 2015-07-03 20:11:08 -05:00
Dr. Chat
e58bb5ad9f ReImplement XexModule::GetProcAddress 2015-07-03 18:29:14 -05:00
Dr. Chat
800f982a4d XEX2 Security Page Descriptors 2015-07-03 10:58:33 -05:00
Dr. Chat
82ec1c345d Dump all xex2 headers in XUserModule (minus a couple) 2015-07-03 08:17:24 -05:00
Dr. Chat
be5f8d3aa4 Simplify some logic in parsing import libraries
Change struct used in export lookups
2015-07-03 08:17:23 -05:00
Dr. Chat
029babaf5d Drop dependency on old-style xex2 headers 2015-07-03 08:15:53 -05:00
Dr. Chat
fe87c08424 Shuffle some code around. 2015-07-03 08:15:53 -05:00
Ben Vanik
d7a5c74bf3 Formatting: force pointers to the left side. 2015-06-30 16:16:33 -07:00
Ben Vanik
84e884a07f Moving get_opt_header out of xex2. 2015-06-28 14:01:53 -07:00
Ben Vanik
010b701e05 Iterating on RtImageXexHeaderField. 2015-06-28 13:44:59 -07:00
Ben Vanik
7875a4b0ba Merge pull request #300 from DrChat/hmodule_fix
Swap to using HMODULE instead of handles for xex modules.
2015-06-28 12:01:32 -07:00
Dr. Chat
c47c0b3354 Uhh, lint 2015-06-28 13:29:54 -05:00
Dr. Chat
944b39c51d Apply some lint n' stuff 2015-06-27 22:50:08 -05:00
Dr. Chat
8a6c620fe7 XUserModule::GetOptHeader 2015-06-27 22:42:17 -05:00
Dr. Chat
169cb65d96 Remove unused execution_info_ptr 2015-06-27 22:38:10 -05:00
Dr. Chat
c228c0fa73 Add some native xex2 structs and handling functions 2015-06-27 21:32:16 -05:00
Ben Vanik
1ac19f1b08 Replacing vfs memory mapping with base memory mapping.
Progress on #294.
2015-06-27 18:02:20 -07:00
Dr. Chat
287a761987 Fix AppendParam dereferencing NULL pointers 2015-06-25 19:29:37 -05:00
Ben Vanik
fb1f4906d9 xb format --all (we are now format clean). Buildbot will yell at you. 2015-06-22 22:26:51 -07:00
Drew DeVault
a064ba053e Add missing includes for cstring 2015-06-16 23:16:18 -06:00
Ben Vanik
862c322cbc Fixing stack args and error typo. 2015-06-01 23:36:05 -07:00
Ben Vanik
19cb13692b Fixing undefined export names. 2015-06-01 22:12:11 -07:00
Ben Vanik
5c34b0a73e Fixing printfs and fixing exports. link.exe is too good. 2015-06-01 21:40:53 -07:00
Ben Vanik
a91a754b24 Converting some exports to the new way. 2015-06-01 20:56:57 -07:00
Ben Vanik
f634edb9eb Shrinking type names. 2015-06-01 19:55:43 -07:00
Ben Vanik
169ced8194 Removing kernel_state and ppc_context from kernel export args. 2015-06-01 19:33:13 -07:00