Commit Graph

2579 Commits

Author SHA1 Message Date
Dr. Chat e7def962f3 Expose native thread id 2015-07-24 18:41:53 -05:00
Ben Vanik 3cd748a234 Merge pull request #363 from DrChat/obj_handle_ref_counting
Track object handle reference counts in the object table.
2015-07-22 17:37:54 -07:00
Dr. Chat 8e41d5a707 The kernel object table now keeps track of handle reference counts. 2015-07-22 19:34:33 -05:00
Ben Vanik a42ab648ed Shuffling --debug around and making it work. 2015-07-22 17:26:10 -07:00
Ben Vanik 2f233c7974 Update premake5.lua 2015-07-22 12:30:40 -07:00
Ben Vanik c21bef416b Merge pull request #362 from DrChat/xthread_race_fix
Fix race condition in XThread
2015-07-22 10:01:42 -07:00
Dr. Chat 9a47082c88 Create XThread suspended and resume it when setup is complete. Fixes race condition on thread_ variable. 2015-07-22 11:56:02 -05:00
Ben Vanik d01abd4694 Starting debugger rework, adding base async socket, removing flatbuffers. 2015-07-22 00:01:36 -07:00
Ben Vanik a98fa47081 Merge pull request #361 from DrChat/misc_fixes
Misc fixes
2015-07-21 20:22:00 -07:00
Dr. Chat e6eb21f6ac %s 2015-07-21 22:20:54 -05:00
Dr. Chat dda00b604b Don't try to use an invalid file! 2015-07-21 22:14:28 -05:00
Dr. Chat 3ad3635567 X_IO_STATUS_BLOCK / X_EX_TITLE_TERMINATE_REGISTRATION 2015-07-21 22:13:29 -05:00
Dr. Chat c6e6894d9d Platform window enable/disable border support 2015-07-21 22:13:06 -05:00
Dr. Chat 9fcbd60e9b Thread state address is gone 2015-07-21 22:11:55 -05:00
Dr. Chat 8d0fef1433 Kernel state terminate notification support 2015-07-21 22:11:33 -05:00
Dr. Chat b6f8985c8c Shuffle around RTL critical section code and add asserts
Get thread ID using new api
2015-07-21 22:09:26 -05:00
Dr. Chat 7ceaf678e0 Minor XObject function changes 2015-07-21 22:07:55 -05:00
Dr. Chat b646915b77 Make XThread use its guest KTHREAD object in the pcr in r13
Shuffle around some code in XThread
2015-07-21 22:07:30 -05:00
Dr. Chat a4849ca83e XNetSetSystemLinkPort / respect optional pointers in accept 2015-07-21 22:05:56 -05:00
Ben Vanik 8126b12340 Plumbing frontbuffer_ptr around (but not using it yet). 2015-07-21 19:43:36 -07:00
Ben Vanik 7df2692822 Manual merge of part of #336. 2015-07-21 19:43:16 -07:00
Ben Vanik 2215d4707d Manual merge of #330. 2015-07-21 19:42:54 -07:00
Ben Vanik b0c223f2d8 Removing use of glewExperimental.
The trick is setting WGL_CONTEXT_PROFILE_MASK_ARB.
Fixes #359.
2015-07-21 19:33:51 -07:00
Ben Vanik 0ad5ec922f Updating readme with VS2015 info. 2015-07-20 19:20:58 -07:00
Ben Vanik 2f1d49aa32 xenia-gpu mostly clang clean. 2015-07-19 21:48:47 -07: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 12a29371e3 Clang fixes. 2015-07-19 18:32:48 -07:00
Ben Vanik baa86fcd1b Migrating xam UI to elemental-forms.
Fixes #345.
2015-07-19 14:43:27 -07:00
Ben Vanik 5c7f42e9d1 Fix for unknown kernel modules. 2015-07-19 10:55:12 -07:00
Ben Vanik 352bae30cb Removing win32 code from X64CodeCache.
Fixes #349.
2015-07-19 10:33:00 -07:00
Ben Vanik edfa3f3fc0 Replacing the tick count timer with xplat abstraction (also better rate).
Fixes #346.
2015-07-19 10:11:54 -07:00
Ben Vanik 9bcc4e046c Fixing bootstrap from non-VS command prompts. 2015-07-19 09:44:44 -07:00
Ben Vanik 3403bc1144 Making use of premake clear in the readme. 2015-07-19 07:52:11 -07:00
Ben Vanik 91d7acf59e Fixing some particularly bad /W4. 2015-07-18 23:04:21 -07:00
Ben Vanik 4128727f6b Cleaning up some /W4 errors. 2015-07-18 16:40:22 -07:00
Ben Vanik e0eb85bbbc Switching to premake. Probably with disasterous consequences. 2015-07-18 16:00:01 -07:00
Ben Vanik 6c5d230f67 Merge pull request #353 from DrChat/ob_threads
Implement ObLookupThreadByThreadId / ObOpenObjectByPointer
2015-07-18 13:27:25 -07:00
Ben Vanik ddf3813584 Merge pull request #354 from DrChat/crypt_sha
Implement xboxkrnl SHA-1 algorithm
2015-07-18 12:59:02 -07:00
Dr. Chat b92cddc182 Implement SHA-1 in xboxkrnl (correctness not verified though)
Stubs for some weird crypto functions
2015-07-18 14:57:43 -05:00
Dr. Chat 2df28910d7 TinySHA1 library 2015-07-18 14:49:06 -05:00
Dr. Chat 55f5b95670 These are implemented (and formatting) 2015-07-17 20:29:39 -05:00
Dr. Chat c60d30a311 Add a few more xam exports 2015-07-17 19:57:35 -05:00
Dr. Chat c3189a6837 ObLookupThreadByThreadId / ObOpenObjectByPointer 2015-07-17 19:56:54 -05:00
Dr. Chat 1ea5a4b7b4 XThread initialize the dispatch header 2015-07-17 19:55:09 -05:00
Dr. Chat e54477d0e4 XObject::StashNative 2015-07-17 19:52:29 -05:00
Dr. Chat 7595df4876 We don't need to be the calling thread to set a thread name. 2015-07-17 19:50:04 -05:00
Ben Vanik fd893f730b Shuffling files around. 2015-07-17 01:15:12 -07:00
Ben Vanik 756d414386 Prep for split libraries. 2015-07-16 22:26:34 -07:00
Ben Vanik 2462c2249d Merge pull request #351 from Sinoxan/master
Removing unnecessary unsigned checks.
2015-07-16 11:13:15 -07:00