Commit Graph

557 Commits

Author SHA1 Message Date
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
Ben Vanik
8154d1dad6 Moving xe::Memory and code cache to abstracted APIs. 2015-07-15 22:10:05 -07:00
Ben Vanik
fefaa31cd8 Switching a few types to their platform-agnostic versions. 2015-07-15 22:09:19 -07:00
Ben Vanik
6cf29b969d Abstraction for VirtualAlloc/VirtualFree. 2015-07-15 19:05:08 -07:00
Ben Vanik
58c3a1ba79 VirtualProtect platform abstraction. 2015-07-15 18:20:05 -07:00
Ben Vanik
40621a90bd Switching to standard mutex for now (but keeping xe::mutex). 2015-07-13 21:49:32 -07:00
Ben Vanik
72ad899e9e Starting to remove windows.h includes from things. 2015-07-13 20:49:29 -07:00
Ben Vanik
31dab70a3a Adding some docs on CPU optimizations/potential work. 2015-07-13 18:20:38 -07:00
Dr. Chat
f9977a25af Use std::vector to hold the xex header instead of new/delete 2015-07-06 19:45:10 -05:00
Dr. Chat
0388d17a72 Formatting 2015-07-06 10:57:32 -05:00
Dr. Chat
93f24d2047 XexModule keep track of whether it's loaded into memory or not 2015-07-06 10:40:35 -05:00
Dr. Chat
4e6b036b3c Formatting. 2015-07-05 16:28:11 -05:00
Dr. Chat
567bb525f8 Fix incorrectly getting the exe address 2015-07-05 15:41:47 -05:00
Dr. Chat
7f53b1d630 Allow unloading of user modules 2015-07-05 14:03:00 -05:00
raven02
f90cc63d4b alu: use XEEXTZ16 for uimm16 2015-07-05 04:52:53 +08:00
Ben Vanik
4097fe420e Merge pull request #322 from DrChat/xex2_patch
XEX2 Code Refactoring
2015-07-03 19:38:36 -07:00
Dr. Chat
1788ee1589 Linting. 2015-07-03 20:11:08 -05:00
Dr. Chat
03ffb20a43 Warn when importing an unimplemented kernel function 2015-07-03 19:44:11 -05:00
Dr. Chat
b852ce75df Write a dummy value into unresolved import variables. 2015-07-03 19:00:07 -05:00
Dr. Chat
e58bb5ad9f ReImplement XexModule::GetProcAddress 2015-07-03 18:29:14 -05:00
Dr. Chat
d616231c8b Trigger a PPC debug trap if an unresolved import is called. 2015-07-03 18:03:33 -05:00
Dr. Chat
0211135fd6 Fix potential corruption for GetOptHeader 2015-07-03 10:41:43 -05:00
Dr. Chat
362a521c79 Rewrite XexModule to drop dependency on old xex2 headers for imports 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
dec0d12cc9 Replacing includes of windows headers with base/platform.h. 2015-07-01 09:02:04 -07:00
Ben Vanik
1106029afc _wfopen -> xe::filesystem::OpenFile.
Progress on #305.
2015-06-28 17:33:46 -07:00
Ben Vanik
e05cc3ba37 x64_sequences can now be run through clang-format.
Progress on #291.
2015-06-28 15:04:24 -07:00
Ben Vanik
5ca8caa9a7 Allowing thread stacks from the entire 0x4-0x7 range. 2015-06-28 14:34:11 -07:00
Ben Vanik
0359184bc0 Simplifying the sequences code to start refactoring.
Progress on #291.
2015-06-28 12:01:47 -07:00
Ben Vanik
0630b524fa Removing unused HIR opcodes.
Progress on #291.
2015-06-28 12:01:46 -07:00
Ben Vanik
3745746fcc Shuffling around thunk emitter.
Progress on #291.
2015-06-28 12:01:45 -07:00
Ben Vanik
5e950cb066 Fixing VS intellisense for xbyak.
Progress on #291.
2015-06-28 12:01:45 -07:00
Ben Vanik
8c69a4df09 Cleaning up apu/ and renaming -private files to _flags.
Part of #296.
2015-06-27 11:25:56 -07:00
Ben Vanik
3439641101 Removing cpu.h.
Part of #296.
2015-06-27 08:58:45 -07:00
Ben Vanik
12120262b8 Adding non-win8 API for unwind info, but it doesn't work :/
Working on #295.
2015-06-26 21:50:32 -07:00
Lioncash
23352f3419 xex_module: Fix formatting arguments
These take a const char* not a std::string.
2015-06-25 12:48:41 -04:00
Ben Vanik
d335555277 Manually page align address range for write watch. 2015-06-23 17:37:09 -07: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
Ben Vanik
fb591cbadb Disabling use of FMA until I can figure out the rounding issues. 2015-06-20 11:21:32 -07:00
Ben Vanik
03f2d26afd Fixing tests with no debugger attached. 2015-06-19 21:53:49 -07:00
Drew DeVault
a064ba053e Add missing includes for cstring 2015-06-16 23:16:18 -06:00
Ben Vanik
aae45515ae Preserving HIR disasm when the debugger is attached. 2015-06-16 21:04:18 -07:00
Ben Vanik
165d49ad3a Moving PPC disasm to on-demand in debugger. 2015-06-16 20:18:48 -07:00
Ben Vanik
5f33087a12 Adding mmap for code cache and exposing cache properties. 2015-06-16 20:13:39 -07:00
Ben Vanik
c34db170f5 Adding fallback for pre-MOVBE-supporting processors. 2015-06-16 20:06:50 -07:00
gibbed
54a7b8c591 Assert symbol_info is not null in X64Emitter::Call. 2015-06-16 20:41:25 -05:00
Ben Vanik
b9c341ebef Yell at the user when they have an unsupported CPU. 2015-06-16 17:46:41 -07:00
Ben Vanik
51eeb4f039 Using upstream xbyak movbe. 2015-06-15 20:44:13 -07:00