Commit Graph

133 Commits

Author SHA1 Message Date
Ben Vanik
3c96b6fa0a DANGER DANGER. Switching to global critical region.
This changes almost all locks held by guest threads to use a single global
critical region. This emulates the behavior on the PPC of disabling
interrupts (by calls like KeRaiseIrqlToDpcLevel or masking interrupts),
and prevents deadlocks from occuring when threads are suspended or
otherwise blocked.
This has performance implications and a pass is needed to ensure the
locking is as granular as possible. It could also break everything
because it's fundamentally unsound. We'll see.
2015-09-06 09:30:54 -07:00
Dr. Chat
3d684ac304 Fixup the premake files 2015-08-29 22:04:12 -05:00
Dr. Chat
f2b2a22687 Add gflags to projects that need it only 2015-08-29 21:16:57 -05:00
Ben Vanik
b7203c2989 Logging to with a ringbuffer. Much faster. 2015-08-29 18:06:30 -07:00
Ben Vanik
3c50b6739a Capturing guest/host context and showing registers in debugger. 2015-08-29 08:08:54 -07:00
Ben Vanik
2b012f37bf Adding base callstack control. 2015-08-16 14:29:09 -07:00
Ben Vanik
a92566dfc5 More style. 2015-08-07 21:29:03 -07:00
Ben Vanik
5e08889d93 More style cleanup. 2015-08-06 20:17:01 -07:00
Ben Vanik
eaa1a8ee3a Refactoring SymbolInfo/FunctionInfo/Function into Symbol/Function. 2015-08-05 21:50:02 -07:00
Ben Vanik
48d6e6becf Cleaning up debugger threading and adding hacky callstacks to UI. 2015-08-05 07:50:37 -07:00
Ben Vanik
0a8d6eec91 Simplifying debug stuff, as I'm not going to bother with gdb. 2015-08-04 18:39:51 -07:00
Ben Vanik
ec326119cf Replacing beaengine in mmio handler with custom decoder.
Fixes #358.
2015-08-04 08:25:42 -07:00
Ben Vanik
37ded9acc3 Window->Form. 2015-08-01 10:24:41 -07:00
Ben Vanik
e523ffcd51 Tweaking some thread names. 2015-07-29 23:28:45 -07:00
Ben Vanik
122114d1d1 Fixing debugger startup race. 2015-07-29 19:52:53 -07:00
Ben Vanik
40e98eab7c Fix include. 2015-07-29 00:33:57 -07:00
Ben Vanik
e657276996 Mostly working stack walking (besides issue #372). 2015-07-29 00:15:52 -07:00
Ben Vanik
e4d9f38b82 These files should have been deleted. 2015-07-27 08:28:31 -07:00
Ben Vanik
7ecc6362de Debugger stuff. Lots of wasted work :/ 2015-07-26 22:47:16 -07: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
d01abd4694 Starting debugger rework, adding base async socket, removing flatbuffers. 2015-07-22 00:01:36 -07:00
Dr. Chat
9fcbd60e9b Thread state address is gone 2015-07-21 22:11:55 -05:00
Ben Vanik
91d7acf59e Fixing some particularly bad /W4. 2015-07-18 23:04:21 -07:00
Ben Vanik
e0eb85bbbc Switching to premake. Probably with disasterous consequences. 2015-07-18 16:00:01 -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
Ben Vanik
fefaa31cd8 Switching a few types to their platform-agnostic versions. 2015-07-15 22:09:19 -07:00
Ben Vanik
15c17459be Massive refactoring of xenia::ui and GL swap behavior.
This seems to dramatically improve most games (especially with
--vsync=false), though it may cause swap issues with others.
New code should be easier to port, and enables elemental-forms to be
drawn for any emulator UI.
2015-07-12 22:04:17 -07:00
Ben Vanik
77894ac03a Skeleton debugger UI (playing with things). 2015-07-12 22:04:15 -07:00
Ben Vanik
6b52f2682e Fixing elemental input and using embedded resources. 2015-07-07 22:16:46 -07:00
Ben Vanik
b09ab1f886 Merge pull request #328 from DrChat/xam_loader
Implement XamLoaderLaunchTitle/XamLoaderTerminateTitle
2015-07-07 07:46:56 -07:00
Ben Vanik
5da29d88e2 Removing old lib. 2015-07-07 07:44:51 -07:00
Ben Vanik
95e2ea11eb Cleaning up paths a bit. Need to de-globalize. 2015-07-06 23:03:24 -07:00
Ben Vanik
253a685dde Switching to my turbo badger fork. 2015-07-06 18:12:56 -07:00
Ben Vanik
f2ce11d268 Latest TB. 2015-07-06 18:12:56 -07:00
Dr. Chat
6bb5b002e0 Gracefully handle debugger accept thread already running 2015-07-05 13:31:51 -05:00
Ben Vanik
fd50209760 Latest TB changes. 2015-07-02 20:28:12 -07:00
Ben Vanik
4ec0655751 xe::ui control for hosting a turbobadger UI. 2015-07-01 15:58: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
d7a5c74bf3 Formatting: force pointers to the left side. 2015-06-30 16:16:33 -07:00
Ben Vanik
60290fe526 Moving base/ into its own libxenia-base library. 2015-06-30 16:02:57 -07:00
Ben Vanik
d6136c6f3f Skeleton debugger project.
Progress on #316.
2015-06-30 15:50:52 -07:00
Ben Vanik
0716cf84c0 Renaming xe::fs to xe::filesystem and xe::kernel::fs to xe::vfs.
Progress on #294.
2015-06-27 13:31:21 -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
e4c5522c84 Merge pull request #261 from SirCmpwn/fix-std-mem
Add missing includes for cstring
2015-06-16 22:19:19 -07:00
Drew DeVault
a064ba053e Add missing includes for cstring 2015-06-16 23:16:18 -06:00
Ben Vanik
b750370759 Partial thread data plumbing. 2015-06-16 21:53:40 -07:00
Ben Vanik
aae45515ae Preserving HIR disasm when the debugger is attached. 2015-06-16 21:04:18 -07:00