Commit Graph

728 Commits

Author SHA1 Message Date
Joel16
abf8064771 Add missing enums 2018-01-13 18:47:25 +01:00
Joel
52be537b48 Add more ndm:u functions. (#386) 2018-01-12 13:34:56 +01:00
TuxSH
fdf31f7556 Multiple srv:pm bugfixes 2018-01-07 01:35:19 +01:00
Joel
3bbd2dca16 MCU service consistency and a couple more functions (#381)
Also added MCUHWC_GetFwVerHigh and MCUHWC_GetFwVerLow
2018-01-01 16:42:46 +01:00
Lioncash
c941b0d2d2 services: Add missing void keyword in parameter lists to signify no arguments 2018-01-01 16:41:45 +01:00
Joel
6f64dee330 Add a few more ACU functions (#379) 2017-12-01 17:58:08 +01:00
Kartik
65673fd3f3 Added more mcuHwc functions. (#378) 2017-11-16 00:18:07 +01:00
Kartik
8e2d82ae9a Fix page being not built by doxygen 2017-11-16 00:13:41 +01:00
Joel
632f9866e6 Add a few more CFGI functions (#380)
* CFGI_SecureInfoGetSerialNumber
* CFGU_IsNFCSupported (IsFangateSupported)
* CFGI_GetLocalFriendCodeSeed
* CFGI_GetLocalFriendCodeSeedData
2017-10-28 12:12:16 +03:00
fincs
7c348aa3ad Add missing examples to 3ds.h 2017-09-23 18:10:46 +02:00
Joel
25123ba057 Add more CFGI functions (#376) 2017-09-23 18:07:50 +02:00
Joel
04bde1de19 More AM_Delete functions (#375) 2017-09-23 17:42:37 +02:00
Kartik
d6a628b7d3 Add mcu::HWC service (#373) 2017-09-23 16:03:37 +02:00
phijor
aaa92f619c Add Mii selector applet (appletEd) (#372) 2017-09-23 15:48:08 +02:00
Joel
fa6eb5db9e More GSPLCD and GSPGPU functions. (#371) 2017-09-23 01:59:26 +02:00
LIT
8196e383c3 Typo. 2017-09-13 14:37:17 +01:00
fincs
0d950af680 Remove deprecated GPUCMD functions 2017-08-29 00:39:56 +02:00
fincs
967b0223ad Correct error in GPU_LIGHTPERM (reported by @wwylele) 2017-08-27 12:25:32 +02:00
TuxSH
010dde085b Add Loader service commands (#370) 2017-08-21 15:55:54 +01:00
TuxSH
f132a7a2a9 Implement light semaphores (#369) 2017-08-01 14:35:45 +01: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
532fbef44f Fix srv:pm handling for pre-7.x system versions (#365) 2017-07-31 14:12:51 +01:00
TuxSH
e1ddc74c1c Add exheader.h (#366) 2017-07-31 14:12:16 +01:00
Joel
f05c56435d Implement GSPLCD_SetBrightness and GSPLCD_SetBrightnessRaw (#363) 2017-07-29 22:55:52 +01:00
TuxSH
bc87466400 srv: code bugfixes:
- Fix srvPublishToSubscriber documentation
- Fix handling of service/named port names of length 8
- Fix srvRegisterPort
2017-07-13 16:12:09 +01:00
Michael Theall
41c1fee88e Fix warning when compiling with C89/90 2017-07-10 23:43:10 -05:00
Kartik
8d177742ae Add PTMU_GetAdapterState (#361) 2017-07-10 14:43:24 +02: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
Thomas Schneider
325dbf02b7 include svc.h for ResetType 2017-07-04 14:02:08 +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
Kartik
ff559d2a90 Fix compilation issue caused due to errorConf. (#355) 2017-05-21 22:07:33 +02:00
fincs
94aabe35f3 Rename debugDevice_3DMOO to debugDevice_SVC 2017-05-14 11:49:21 +02:00
TuxSH
8778d8c5d6 Add support for user-specified exception handlers 2017-05-14 11:41:24 +02:00
fincs
1ed97e8ba2 Implement RUNFLAG_APTCHAINLOAD 2017-04-14 22:01:13 +02:00
fincs
3f7a4d227d Add GPU_FOGMODE, GPU_GASMODE and GPU_GASLUTINPUT 2017-04-08 12:39:37 +02:00
Kartik
8ada484dad Implement HTTPC:AddPostDataBinary (#352) 2017-04-05 15:49:05 +02:00
Kartik
422c3c3272 Implement error applet (#343) 2017-04-04 17:49:37 +02:00
Joel
b3742567d4 Implement GSPLCD::GetBrightness (#351)
* Implement GSPLCD::GetBrightness

* Split input and output params
2017-04-02 22:55:37 -05:00
fincs
f4232926c3 Add GX command queue system for batching GX commands 2017-03-26 19:48:34 +02:00
fincs
d8374c2883 Refactor gpu.h/gpu.c, see details:
- Added GPUCMD_Split for splitting the command buffer
  (and beginning a new command list within the same buffer)
- Deprecated GPUCMD_Finalize/Run/FlushAndRun:
  - Use GPUCMD_Split + GX_ProcessCommandList instead
- Turned GPUCMD_SetBuffer/SetBufferOffset/GetBuffer into inlines
- GPUCMD_Add: svcBreak on cmdbuf overflow
2017-03-26 19:37:25 +02:00
fincs
c44da0636a Correct GPU_PROCTEX_LUTID definition 2017-03-15 16:40:06 +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
636dfb2f1d Fix typo in definition of struct FpuRegisters 2017-03-06 19:57:04 +01:00
TuxSH
65171be4d8 Fix ThreadContext definition
Its correct size is 0xcc bytes, not the 8-byte aligned 0xd0
2017-03-06 19:57:04 +01: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
eeacb2faa9 ERRF_ExceptionInfo: fix typo 2017-03-01 20:45:33 +00:00
Fenrir
da97a8802c Add threadDetach function 2017-03-01 20:45:12 +00:00
TuxSH
c6c994ca60 Make ERRF_ExceptionInfo attributes more explicit 2017-03-01 11:33:51 +00:00
TuxSH
2edbc6fe2e Fix typo in errf.h 2017-03-01 10:35:05 +00:00
TuxSH
492fffd445 Fix DebuggerBreakExceptionEvent definition 2017-02-23 21:29:30 +01:00
fincs
112163e580 Clarify threadFree usage in documentation 2017-02-17 16:08:16 +01:00
yellows8
cffb347407 Added support for the NFC functionality implemented with system-version 10.0.0-X. 2017-02-16 20:27:37 -05:00
fincs
991eb2357b Add TickCounter for measuring performance 2017-02-16 14:35:06 +01:00
fincs
093b3441ea Added (linear/vram/mappable)GetSize for retrieving allocated buffer size 2017-02-16 13:44:19 +01:00
TuxSH
95c4a3e6ef Fix ERRF_ExceptionData definition
This "padding" field is not needed (the struct is used within an union when sent to ErrDisp), and is also undesirable as the kernel push an instance of `ERRF_ExceptionData` (which is a struct of size 0x5C, and not 0x60) on the user stack under certain conditions.
2017-02-16 13:39:20 +01:00
fincs
7be0b5b026 Add GPU_TEXFACE enumeration 2017-02-11 23:04:03 +01:00
Michael Theall
97d6149e3e Avoid double promotion 2017-02-08 22:51:57 -06:00
AriA99
e06c8e542f Add nim:s client implementation. 2017-01-27 19:06:28 +01:00
Slimfr01
6eb53df563 update NFC_AmiiboConfig struct
adjust and rename NFC_AmiiboConfig struct members to better reflect their purpose.
2017-01-20 18:14:16 +00:00
Dave Murphy
50cafaa700 devkitARM r46 changes 2017-01-16 15:39:06 +00:00
motezazer
648ee46742 Add AM_FinishCiaInstallWithoutCommit and AM_CommitImportPrograms (#321)
* Add AM_FinishCiaInstallWithoutCommit and AM_CommitImportPrograms

* Make the tids const

* In the headers also
2017-01-16 12:41:35 +00:00
yellows8
6e107a1aa5 Added bossGetNsDataHeaderInfo() and enums for it + added a comment for bossTaskStatus. 2017-01-10 18:08:15 -05:00
fincs
d42efe636b Simplify application/linear heap size management 2017-01-03 18:36:37 +01:00
Jeffrey Pfau
635d3e6640 Add APT:ReceiveDeliverArg 2016-12-29 19:28:59 +01:00
thedax
f744a85e5a Add support for nwm::EXT::ControlWirelessEnabled. 2016-12-28 17:41:51 +01:00
yellows8
47d9585624 Added bossReinit() and bossUnregisterStorage(). Updated comments for bossInit(). 2016-12-27 18:04:17 -05:00
yellows8
d14fa59ba5 Added bossSetStorageInfo(). 2016-12-26 01:43:12 -05:00
yellows8
95bcb4d69a Added force_user param to bossInit(). 2016-12-25 19:21:20 -05:00
yellows8
7ccfe71e45 Added bossDeleteNsData() and bossReadNsData(). 2016-12-25 02:15:10 -05:00
yellows8
435fad724b Added enum bossTaskStatus and updated bossGetTaskState. 2016-12-25 01:00:49 -05:00
yellows8
88da2f456b Added BOSS property_xb and property_x3e. 2016-12-25 00:33:32 -05:00
fincs
4abf42f16d Merge pull request #325 from TuxSH/master
Finish implementing the debug SVCs, fix bugs, other changes
2016-12-23 18:05:42 +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
Dave Murphy
bd832dbb25 fix bossSetupContextDefault prototype 2016-12-23 13:01:23 +00:00
yellows8
131e71b5e7 Added bossSetupContextDefault(), bossSendContextConfig(), and bossContext. 2016-12-22 18:00:58 -05:00
yellows8
b04568fd53 Use const with BOSS, use '(void)' for bossGetSessionHandle, and changed bossCmd34 to bossGetTaskProperty0. 2016-12-22 16:02:53 -05:00
yellows8
955ae2af3e Updated bossCmd34 and added bossGetTaskState(). 2016-12-22 02:18:26 -05:00
yellows8
ee23569db8 Added bossRegisterTask, bossSendProperty, bossDeleteTask, and bossCmd34. 2016-12-22 01:32:49 -05:00
yellows8
e8c3a9139e Started implementing BOSS support. 2016-12-19 19:49:51 -05: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
yellows8
e37ebf3ef1 Added psInitHandle and psGetSessionHandle. Updated PS_AESAlgorithm comments and added psRSAContext. Added PS_SignRsaSha256 and PS_VerifyRsaSha256. Fixed PS_EncryptDecryptAes and PS_EncryptSignDecryptVerifyAesCcm, these originally implemented pxips9 commands not psps. 2016-12-17 01:38:37 -05:00
Dave Murphy
3501efd7e5 whitespace fixes 2016-12-04 17:21:44 +00:00
Lázaro Vieira
744ca95390 Add AM_DeleteAllDemoLaunchInfos (#320) 2016-11-11 00:12:51 +01:00
yellows8
f7eed42835 Implemented AM_ExportTwlBackup/AM_ImportTwlBackup and AM_ReadTwlBackupInfo. 2016-10-19 12:33:04 -04:00
TuxSH
0eb70a4350 Implement NS_LaunchFIRM and NS_LaunchApplicationFIRM (#316) 2016-09-27 23:16:11 +02:00
SciresM
bd34fd59db Add GSPLCD_GetVendors (#311) 2016-09-04 14:41:28 +02:00
fincs
b0768e552b Merge pull request #310 from SciresM/master
Implement some cfg functions.
2016-08-30 21:01:42 +02:00
fincs
1258cfcccb Merge pull request #305 from Thog/ptmsysm
Add PTMSYSM_CheckNew3DS, PTMSYSM_ShutdownAsync and PTMSYSM_RebootAsync
2016-08-30 21:01:29 +02:00
SciresM
0955035671 Implement some cfg:i functions. 2016-08-28 01:03:50 -07:00