Commit Graph

24 Commits

Author SHA1 Message Date
Michael Scire
326f737349 kern: use different psr masks for 64 and 32-bit El0 threads 2023-02-23 09:00:27 -07:00
Michael Scire
f81abe0625 kern: increase stack parameter size by 0x10 2023-02-23 09:00:27 -07:00
Michael Scire
f38d589516 kern: implement new thread context/fpu semantics 2022-03-23 09:16:06 -07:00
merry
a2e891d5e8 KThreadContext: Use El0PsrMask constant in GetUserContext 2022-03-23 09:15:46 -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
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
4ddacf3384 kern: refactor to use m_ for member variables 2020-12-19 10:21:52 -08:00
Michael Scire
98c80d487b meso: properly initialize per-thread CFI-value for 11.x 2020-12-11 03:48:59 -08:00
Michael Scire
a57c7f7a48 kern: cleanup KThread, optimize/normalize KThreadQueue/KWaitObject 2020-12-02 06:53:14 -08:00
Michael Scire
dc59a2d2e5 kern: build with -Wextra 2020-09-07 10:51:36 -07:00
Michael Scire
227b9603cd kern: SvcReturnFromException 2020-08-01 15:31:46 -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
a0de667005 kern: SvcGetLastThreadInfo, SvcGetDebugFutureThreadInfo 2020-08-01 15:31:41 -07:00
Michael Scire
8019804c7f kern: automatic PC alignment on ERET is implementation defined 2020-08-01 15:31:39 -07:00
Michael Scire
85932bb91e kern: fix ARM vs THUMB mode selection on 32-bit entry 2020-08-01 15:31:38 -07:00
Michael Scire
c64e490663 kern: implement SvcGetThreadContext3 2020-08-01 15:31:35 -07:00
Michael Scire
f752db8379 kern: implement SvcCreateThread, SvcStartThread 2020-08-01 15:31:02 -07:00
Michael Scire
2e23abe83d kern: implement user thread start, el0 code now runs 2020-03-02 19:51:01 -08:00
Michael Scire
cba973f859 kern: implement KProcess::Run 2020-03-02 19:51:00 -08:00
Michael Scire
103122ab4c kern: kern::arm64 -> kern::arch::arm64 2020-03-02 19:50:56 -08:00
Michael Scire
c3a76103b6 mesosphere: hard enforcement of TODOs 2020-03-02 19:50:52 -08:00
Michael Scire
7e1b820041 kern: Implement exception vector ASM 2020-03-02 19:50:52 -08:00
Michael Scire
59a66ddad3 kern: implement KThreadContext 2020-03-02 19:50:47 -08:00