Commit Graph

114 Commits

Author SHA1 Message Date
yellows8 5e69f760fb Added support for exception-handling. 2018-11-14 16:17:02 -05:00
fincs ede79862fb Add threadGetCurHandle 2018-10-27 17:34:44 +02:00
yellows8 5dc7505139 Fixed swapped params for svcCreateEvent in eventCreate. 2018-10-26 13:08:45 -04:00
tatehaga b130d96445 barrier implementation using semaphores (#186) 2018-10-23 21:19:26 +02:00
plutooo 6977cb24f5 virtmem: Fix minor regression
We need to fetch alias region to make sure virtmemReserve() avoids returning addresses inside of it
2018-10-23 04:07:01 +02:00
Michael Scire e942b9cc25 virtmem: Fix stack region mapping on 1.0.0 2018-10-22 22:34:11 +02:00
yellows8 319cc578ca Fixed swapped params for memalign in jitCreate(). 2018-10-17 14:47:14 -04:00
fincs 8e1736c480 Add RandomSeed (14) homebrew ABI key and related handling 2018-10-17 17:17:05 +02:00
TuxSH 3ecd841ec2 Update svcGetDebugThreadContext, add svcSetDebugThreadContext, implement threadDumpContext 2018-09-18 01:13:55 +02:00
TuxSH 5498d3e0c7 Add ThreadContext, RegisterGroup, svcGetThreadContext3, threadDumpContext 2018-09-18 01:13:55 +02:00
Lioncash a06bfb74a7 kernel/random: Avoid casting away const in the U8TO32_LITTLE macro
This macro is only ever used with const input data within chachaInit(),
which causes -Wcast-qual warnings. This is trivial enough to fix, by
preserving the qualifier within the cast.
2018-09-18 01:13:04 +02:00
plutooo 4a13ee3e62 Fix function name to not cause linker problems due to symbol truncation issues 2018-09-15 08:42:32 +02:00
Michael Scire 6ef26bff1a Implement kernelAbove600() 2018-09-09 19:55:12 +02:00
fincs 88e9d3bb83 kernel/event.h: several fixes, including autoclear support 2018-08-31 13:05:22 +02:00
Juan Antonio Hernández Cánovas 377683acd5 Add rwlockInit (#155) 2018-08-24 16:20:01 +02:00
plutooo fb42ebe53a Fix memory leak in tmemCreate 2018-08-11 15:01:12 +02:00
fincs 1e349b6ce8 Change CondVar API to have the mutex be passed to condvarWait* instead of condvarInit 2018-08-05 14:31:31 +02:00
fincs 062ef2b188 Add svcGetThreadCoreMask and svcSetThreadCoreMask 2018-08-05 14:30:08 +02:00
plutooo 9fc5e85c88 Event bringup 2018-08-05 13:23:08 +02:00
Jakob Dietrich 8e19bb5b0d Fix semaphoreTryWait 2018-08-04 12:14:02 +02:00
Oliver Kuckertz 1eafa1b283 Fix data race by reordering in _CacheValues 2018-07-22 17:03:36 +02:00
Kevoot fbe2c1f2ce Add Semaphore (#125) 2018-07-01 00:45:41 +02:00
Michael Scire 9770f4bb18 Implement svcGetThreadList 2018-06-25 11:18:07 -04:00
Michael Scire 481d27d1f1 Implement svcGetDebugThreadParam 2018-06-25 11:18:07 -04:00
gdkchan b55317511c Fix mutexUnlock 2018-06-25 11:12:45 -04:00