Commit Graph

69 Commits

Author SHA1 Message Date
TuxSH
ef6289f977 Add svcControlPerformanceCounter 2020-07-07 12:43:41 +02:00
TuxSH
1ba8d40069 Add/update DMA svcs 2020-07-06 13:22:18 +02:00
TuxSH
58b30bad06 Reorder svcs and replace some void* params, see details:
- New category: "device drivers" (svc 0x5x)
- Use u32 instead of void* when process handles are required
2020-07-06 13:22:18 +02:00
fincs
dfbfc1564f
os.h: Move MemRegion to svc.h; move osGetMemRegionUsed to header; correct osGetMemRegionUsed/Free return type 2020-07-01 18:11:31 +02:00
fincs
19fd446ac5
Add and use svcArbitrateAddressNoTimeout (minor ABI optimization) 2020-06-30 18:45:03 +02:00
fincs
9c1c847388
Introduce syncArbitrateAddress/WithTimeout (replaces __sync_get_arbiter) 2020-06-12 20:40:47 +02:00
fincs
b03b64dd09
Add MEMPERM_READWRITE and MEMPERM_READEXECUTE 2020-05-08 03:16:30 +02:00
TuxSH
4dafd78e26 Fix const-correctness (#368)
make svcWaitSynchronizationN and svcReplyAndReceive const correct
2017-07-31 14:33:20 +01:00
TuxSH
6a6dc3be4a Add and use enum ResourceLimitType (#367) 2017-07-31 14:21:03 +01:00
TuxSH
49f99a0650 Implement privileged resource limit SVCs 2017-07-07 13:08:53 +01:00
TuxSH
4d8c2ea9f5 Implement svcSetGpuProt and svcSetWifiEnabled 2017-07-07 13:08:15 +01:00
Yuri Kunde Schlesner
eb062ce0a9 Add svcCreateSessionToPort 2017-06-26 15:51:03 +01:00
Yuri Kunde Schlesner
1e6df47adb Add svcCreateSession 2017-06-26 15:51:03 +01:00
TuxSH
10cb9babc9 Fix debug-related definitions in svc.h 2017-03-14 14:07:43 +00:00
TuxSH
064f9fdf9e Implement svc 0x04, 0x06, 0x53 2017-03-14 14:07:43 +00:00
TuxSH
e5fc424414 Amend latest PR/commit 2017-03-05 16:48:09 +01:00
TuxSH
cc2928427b Fix svc(Un)mapProcessMemory typo/misconception 2017-03-04 21:55:24 +01:00
TuxSH
492fffd445 Fix DebuggerBreakExceptionEvent definition 2017-02-23 21:29:30 +01:00
TuxSH
ba23d7224b Add svcGetThreadList 2016-12-23 15:30:46 +01:00
TuxSH
84db84c05f Add svcBreakRO 2016-12-23 15:30:46 +01:00
TuxSH
fbdcf91c8b Update svcOutputDebugString 2016-12-23 15:30:46 +01:00
TuxSH
7e8a480b45 Documentation update for svcBackdoor 2016-12-23 15:01:15 +01:00
TuxSH
066a9cc6fd Update svc(Un)bindInterrupt's prototype and documentation 2016-12-23 14:58:02 +01:00
TuxSH
65240d6202 Finish implementing the debug SVCs and associated types 2016-12-23 14:57:32 +01:00
Mrrraou
b5a8183dbd Add svcGetHandleInfo. (#324) 2016-12-19 00:02:43 +01:00
TuxSH
34015acd3f Change svcKernelSetStateSignature
`svcKernelSetState` behaves like a variadic function. This change, in addition of not breaking anything, would allow writing things like:

```c
svcKernelSetState(0, 0x0004013800000002ULL, 0)````

which is more explicit than what was used before
2016-12-18 23:52:12 +01:00
fincs
2f6a28f1e3 Add ResetType enum (and fixed many wrong ResetType usages) 2016-07-01 18:27:39 +02:00
TuxSH
e863d2a4cf Implement svcBindInterrupt and svcUnbindInterrupt 2016-06-25 00:07:03 +02:00
fincs
7ce124e744 Add svcSetProcessAffinityMask, svcSetProcessIdealProcessor and svcRun 2016-05-17 00:14:32 +02:00
Steven Smith
fd566668d3 Add some resource limit SVCs. 2016-04-14 01:19:11 -07:00
Yifan Lu
cd054cbadf Added svc calls for svcCreateCodeSet and svcCreateProcess 2016-01-23 14:32:36 -08:00
fincs
b1e97f2ca4 Add WIP thread wrapper API 2015-12-07 11:43:54 +01:00
Steven Smith
173d386795 Document most of services. 2015-10-04 22:27:43 -07:00
Steven Smith
d6962f2122 Doc consistency. 2015-10-04 14:08:02 -07:00
Steven Smith
2656225392 Finish documentation in include/3ds and include/3ds/util. 2015-10-04 13:48:26 -07:00
fincs
4603b972fa Merge branch 'master' into great-refactor
Conflicts:
	libctru/include/3ds/services/apt.h
	libctru/source/services/apt.c
2015-09-29 23:21:45 +02:00
Lectem
0a66043e56 document ArbitrateAddress + update ArbitrationType
This has been tested on n3ds 9.9.
2015-09-18 23:04:20 -04:00
fincs
c9ad04f70a Merge pull request #164 from Lectem/dsp
IPC stuff and DSP service commands
2015-09-08 20:53:29 +02:00
fincs
e7e21fa9d5 Merge pull request #159 from Lectem/documentation
documentation for the soc service and svcCreateMemoryBlock
2015-09-05 17:46:49 +02:00
Lectem
98d937ebc1 Added getThreadStaticBuffers for IPC 2015-09-01 15:28:52 -04:00
Lectem
d10fc00786 Added pseudo handles for current proc and thread 2015-08-30 23:30:53 -04:00
Lectem
6ca0ab50dd documentation for svcCreateMemoryBlock 2015-08-28 14:55:49 -04:00
Daz Jones
debe7a7553 svc: add a few more SVC bindings
Mostly debug and IPC related.
2015-08-23 20:29:23 +01:00
Lectem
2b385581b9 svc.h : updated MemOp enum and documented half of the file 2015-06-28 02:12:25 +02:00
smea
31e0f2ee07 Merge pull request #122 from Lectem/thread_svcs
threads svcs
2015-05-30 09:07:41 -07:00
smea
79e2efdc0c Update svc.h
cf PR #123
2015-05-25 23:05:14 -07:00
173210
9ad62755b7 svc.h: Remove volatile for getThreadLocalStorage 2015-05-26 14:48:20 +09:00
Lectem
f3bb5339f7 threads svcs 2015-05-25 21:11:16 +02:00
Steven Smith
3adff173cd Remove MEMOP_FREE_LINEAR 2015-04-13 12:50:02 -07:00
fincs
7b059d9395 svc.h/s cleanup; add svcWriteProcessMemory & svcControlProcessMemory 2015-04-13 17:56:38 +02:00