Commit Graph

2672 Commits

Author SHA1 Message Date
Dr. Chat 57e89e72b1 Use the actual thread handle as a wait handle, add bool XThread::running 2015-07-05 15:43:09 -05:00
Dr. Chat 5ccea06e7f KernelState::TerminateTitle 2015-07-05 15:42:30 -05:00
Dr. Chat 567bb525f8 Fix incorrectly getting the exe address 2015-07-05 15:41:47 -05:00
Dr. Chat 778acac929 XThread Terminate 2015-07-05 14:44:43 -05:00
Dr. Chat 7f53b1d630 Allow unloading of user modules 2015-07-05 14:03:00 -05:00
Dr. Chat 8210ada448 XModule OnUnload 2015-07-05 13:47:53 -05:00
Dr. Chat 4fdebd530f XThread bool guest thread 2015-07-05 13:37:10 -05:00
Dr. Chat 6bb5b002e0 Gracefully handle debugger accept thread already running 2015-07-05 13:31:51 -05:00
Dr. Chat fbfdfc8914 Don't call DllMain on non-DLLs
Gracefully handle the kernel dispatch thread already running
2015-07-05 13:31:13 -05:00
Dr. Chat 8d4582a7a4 Fix a couple of API bugs dealing with modules 2015-07-05 13:27:48 -05:00
Ben Vanik fcdd15d157 Merge pull request #325 from raven02/patch-3
alu: use XEEXTZ16 for uimm16
2015-07-04 14:31:52 -07:00
raven02 f90cc63d4b alu: use XEEXTZ16 for uimm16 2015-07-05 04:52:53 +08:00
Ben Vanik db258b7dde Merge pull request #324 from DrChat/xex2_patch
Typecast xe::be before sending it into printf
2015-07-03 20:17:00 -07:00
Dr. Chat b57a71e284 Typecast xe::be before sending it into printf 2015-07-03 22:02:58 -05:00
Ben Vanik 762b78d12f Merge pull request #323 from DrChat/natvis_fix
Fix the natvis file name
2015-07-03 19:54:08 -07:00
Dr. Chat 59861f8d0d Fix the natvis file name 2015-07-03 21:52:45 -05: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 9186d011f0 Bring back some important debug dumps 2015-07-03 21:28:02 -05: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 8cb8098a6b Dump import libraries 2015-07-03 19:43:43 -05:00
Dr. Chat ed3db90666 Dump a few more headers (incl. execution header) 2015-07-03 19:16:36 -05:00
Dr. Chat b852ce75df Write a dummy value into unresolved import variables. 2015-07-03 19:00:07 -05:00
Dr. Chat 74d57cfd0a Dump exports by name in debug log 2015-07-03 18:45:11 -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
Ben Vanik 87ea7a0233 Merge pull request #321 from raven02/patch-2
gl4: Swap high and low 16 bits within a 32 bit word
2015-07-03 09:46:39 -07:00
raven02 0f7f2f2491 gl4: swap high and low 16 bits within a 32 bit word using SSE intrinsics 2015-07-04 00:35:48 +08:00
Dr. Chat 800f982a4d XEX2 Security Page Descriptors 2015-07-03 10:58:33 -05:00
Dr. Chat c32a94599e Use the guest copy of the xex header for guest code. 2015-07-03 10:51:56 -05:00
Dr. Chat 307feaf893 Formatting. 2015-07-03 10:51:35 -05:00
Dr. Chat 0211135fd6 Fix potential corruption for GetOptHeader 2015-07-03 10:41:43 -05:00
Dr. Chat a25090f3ca Templated XUserModule::GetOptHeader 2015-07-03 10:27:08 -05:00
Dr. Chat 82ec1c345d Dump all xex2 headers in XUserModule (minus a couple) 2015-07-03 08:17:24 -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 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
Dr. Chat e44ac54eed Remove kernel dependency on old xex header 2015-07-03 08:15:52 -05:00
Ben Vanik fd50209760 Latest TB changes. 2015-07-02 20:28:12 -07:00
Ben Vanik c13abf3afa Merge pull request #319 from raven02/patch-2
Use SSE intrinsics for uint16_t byte swapping
2015-07-02 08:42:25 -07:00
raven02 3ce6e0ccd8 Use SSE intrinsics for uint64_t byte swapping 2015-07-02 23:26:02 +08:00
raven02 fcf89a61e7 Use SSE intrinsics for uint32_t byte swapping 2015-07-02 23:25:10 +08:00
raven02 fea115a6f4 Use SSE intrinsics for uint16_t byte swapping
Part of https://github.com/benvanik/xenia/issues/308
2015-07-02 23:04:48 +08:00
Ben Vanik 4ec0655751 xe::ui control for hosting a turbobadger UI. 2015-07-01 15:58:04 -07:00
Ben Vanik dec0d12cc9 Replacing includes of windows headers with base/platform.h. 2015-07-01 09:02:04 -07:00
Ben Vanik 88d01e8375 App skeleton. 2015-07-01 08:24:44 -07:00
Ben Vanik 1bae2ef10b Skeleton debugger window. 2015-07-01 08:13:22 -07:00
Ben Vanik 9efccc5f4a Removing dependencies on MainWindow. 2015-07-01 08:02:22 -07:00
Ben Vanik 4732378ba9 Removing NV command list path, as it's unused and untested. 2015-07-01 07:36:12 -07:00