Commit Graph

30 Commits

Author SHA1 Message Date
Michael Scire
f38d589516 kern: implement new thread context/fpu semantics 2022-03-23 09:16:06 -07:00
SciresM
00203fd7c3 Integrate new result macros. (#1780)
* result: try out some experimental shenanigans

* result: sketch out some more shenanigans

* result: see what it looks like to convert kernel to use result conds instead of guards

* make rest of kernel use experimental new macro-ing
2022-03-23 09:15:40 -07:00
Michael Scire
62bdae5b3f kern: devirtualize most things that are free to devirtualize (see #1672) 2021-10-26 01:11:15 -07:00
Michael Scire
d3b358bbb9 kern/util: use custom atomics wrapper to substantially improve codegen 2021-10-26 01:11:12 -07:00
Michael Scire
002422d5dc ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-07 23:06:25 -07:00
Michael Scire
5a41163576 kern: improve kdebug attach semantics 2021-09-19 10:35:38 -07:00
Michael Scire
e9a80d95e7 kern: optimize hw-single-step management 2021-09-19 10:35:29 -07:00
Michael Scire
33d58424c7 kern: add hardware single step extension 2021-09-19 10:35:28 -07:00
Michael Scire
d81e2f981e kern: fix same is_current check in GetThreadContext 2021-08-20 13:34:02 -07:00
Michael Scire
4e0670485b kern: fix check for thread-is-current in KDebugBase::SetThreadContext 2021-08-20 13:34:01 -07:00
Michael Scire
fa17887706 kern: slightly improve genericity of debugger break event 2021-06-08 08:09:22 -07:00
Michael Scire
82c67b4c54 kern: update kdebug process management semantics 2021-04-11 03:59:18 -07:00
Michael Scire
8df6062a1d kern: add KPageTableBase::Read/WriteDebugIoMemory 2021-04-11 03:59:12 -07:00
Michael Scire
3888feb3fb kern: fix inverted conditional in KDebugBase::SetThreadContext 2021-04-11 03:59:00 -07:00
Michael Scire
4ddacf3384 kern: refactor to use m_ for member variables 2020-12-19 10:21:52 -08:00
Michael Scire
a57c7f7a48 kern: cleanup KThread, optimize/normalize KThreadQueue/KWaitObject 2020-12-02 06:53:14 -08:00
Michael Scire
0c73792282 kern: Kill KCoreLocalRegion 2020-12-02 06:53:12 -08:00
Michael Scire
f577ffa682 kern: fix reference leak in KThread::GetThreadFromId callers 2020-09-07 10:51:44 -07:00
Michael Scire
f80eb2c26f kern SvcGetDebugThreadContext, SvcSetDebugThreadContext 2020-08-01 15:31:45 -07:00
Michael Scire
bb044b1934 kern: clean up majority of TODOs 2020-08-01 15:31:44 -07:00
Michael Scire
d50efee2c7 kern: resolve final non-user-exception MESOSPHERE_UNIMPLEMENTED 2020-08-01 15:31:44 -07:00
Michael Scire
1c733577b4 kern: SvcGetDebugEventInfo64From32 2020-08-01 15:31:44 -07:00
Michael Scire
b576737418 kern: SvcBreakDebugProcess, SvcTerminateDebugProcess 2020-08-01 15:31:43 -07:00
Michael Scire
3b9403f3fc kern: Svc(Legacy)ContinueDebugEvent 2020-08-01 15:31:42 -07:00
Michael Scire
a0de667005 kern: SvcGetLastThreadInfo, SvcGetDebugFutureThreadInfo 2020-08-01 15:31:41 -07:00
Michael Scire
ef6ede3aeb kern: SvcReadDebugProcessMemory, SvcWriteDebugProcessMemory 2020-08-01 15:31:40 -07:00
Michael Scire
c39da750f2 SvcQueryDebugProcessMemory 2020-08-01 15:31:38 -07:00
Michael Scire
670824fa0a kern: implement process exit 2020-08-01 15:31:27 -07:00
Michael Scire
ae68a9c38d kern: SvcCreateSession, KDebug finalization 2020-08-01 15:31:21 -07:00
Michael Scire
eeb12eb4a2 kern: implement SvcDebugActiveProcess, svcGetDebugEvent, SvcWaitProcessWideKeyAtomic 2020-08-01 15:31:21 -07:00