Commit Graph

728 Commits

Author SHA1 Message Date
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
profi200
fcbc24a895 Added FSUSER_UpdateSha256Context(). 2016-08-25 08:39:26 +02:00
Thog
3b3c0fabdf Add PTMSYSM_CheckNew3DS, PTMSYSM_ShutdownAsync and PTMSYSM_RebootAsync 2016-07-31 22:42:20 +02:00
Thomas Edvalson
3474ac5121 Add httpcCancelConnection and some timeout calls 2016-07-31 00:16:22 -04:00
Ken Sanislo
9efe374dc1 Define the known KeepAlive on/off flag 2016-07-26 12:39:16 -07:00
Ken Sanislo
6a94d99dc2 Add httpcSetKeepAlive() to turn HTTP Keep-Alive on and off 2016-07-26 10:47:33 -07:00
infinicore
5310f1a900 Add support for ps:ps#GenerateRandomBytes. 2016-07-22 06:24:18 +00:00
fincs
7aad0b4968 Enhanced and corrected shader code to fully support geometry shaders 2016-07-20 17:35:26 +02:00
fincs
88a9c58bec Remove old deprecated GPU API 2016-07-20 17:31:30 +02:00
fincs
5725ec2ded Const correctness in GPUCMD_Add(RawCommands) 2016-07-20 17:30:19 +02:00
chaoskagami
afa261eecd Improve err:f documentation and add wrappers to construct errors automatically 2016-07-15 19:39:38 -04:00
chaoskagami
cfdb8d1b58 Expose err:f global port 2016-07-14 18:07:30 -04:00
fincs
bbd0fe92d3 Add software keyboard (swkbd) library applet support (finally!) 2016-07-04 01:08:12 +02:00
fincs
15e24d19a5 Major APT rewrite, see details:
- Internal logic changes in order to follow official behavior
  more closely - the APT state machine has been removed.
- The following functions were removed:
  * aptSetStatus/aptGetStatus along with the APT_AppStatus enum
  * aptGetStatusPower/aptSetStatusPower
  * aptReturnToMenu
  * aptWaitStatusEvent, aptSignalReadyForSleep
- Library applet launching is now fully supported on both official
  environments (ncch/cia) and homebrew environments (3dsx).
  APT_LaunchLibraryApplet has been replaced with aptLaunchLibraryApplet.
- Added aptSetMessageCallback (intended for use with libapplet code)
- Added APT_CancelParameter
- Some other misc changes
2016-07-02 00:57:06 +02:00
fincs
bac12e19bb Add light events 2016-07-01 18:28:00 +02: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
1cef3e5d2f Merge pull request #291 from Lectem/patch-1
Add NETOPT_DHCP_LEASE_TIME
2016-06-11 19:48:44 +02:00
fincs
14cdb5a9d3 Begin refactoring APT code, many changes to make code a bit more manageable 2016-06-11 19:48:05 +02:00
Lectem
8c9a32747c Add NETOPT_DHCP_LEASE_TIME 2016-06-11 13:20:12 -04:00
fincs
56a11197c7 () -> (void) 2016-06-10 18:14:30 +02:00
Steven Smith
1ba7894c8d Add pxidev.h to 3ds.h. 2016-06-02 18:43:57 -07:00
yellows8
12f0f638ff Moved amapp init into a seperate function. 2016-06-02 20:49:01 -04:00
Steven Smith
7fa3adc716 Add pxi:dev service. 2016-05-31 15:29:09 -07:00
fincs
8876b1eb5f Merge pull request #288 from Ryuzaki-MrL/master
Add 2 more missing news:s functions
2016-05-21 22:05:02 +02:00
Lázaro Vieira
c36bdb9013 Add 2 more missing news:s functions
-Add NEWS_SetNotificationMessage
-Add NEWS_SetNotificationImage
-NULL reference handling for NEWS_GetNotificationImage
2016-05-21 16:51:31 -03:00
Michael Theall
191e286283 Remove romfs limitation note from osGetSystemVersionData 2016-05-20 00:04:48 -05:00
Michael Theall
d72842f898 Allow multiple romfs mounts 2016-05-19 23:58:55 -05:00
fincs
9489aadb5a Merge pull request #287 from Cruel/const-lyfe
Some const correctness in sslc/httpc inputs
2016-05-20 01:46:53 +02:00
Thomas Edvalson
53e3b35466 Some const correctness in sslc/httpc inputs 2016-05-19 19:21:11 -04:00
fincs
7ce124e744 Add svcSetProcessAffinityMask, svcSetProcessIdealProcessor and svcRun 2016-05-17 00:14:32 +02:00
fincs
2810c4d3a8 Merge pull request #285 from Steveice10/togglesleep
Allow toggling sleep mode.
2016-05-08 22:11:54 +02:00
fincs
f22b8f7d9a Merge pull request #282 from Steveice10/master
Separate information required to open an archive from the actual opened handle.
2016-05-08 22:11:48 +02:00
Steven Smith
c81239a407 Allow toggling sleep mode. 2016-05-08 12:45:18 -07:00
Steven Smith
cf91be5041 Separate information required to open an archive from the actual opened handle. 2016-05-06 15:25:20 -07:00
Thomas Edvalson
3129c35e71 Fix ETC1 texture format enums and add A4 2016-05-02 22:46:37 -04:00
yellows8
98adfa0536 Implemented proper NFC support, see also the NFC example. 2016-04-30 17:59:12 -04:00
yellows8
25aae300b2 Implemented httpc support for the remaining documented sslc-related commands. 2016-04-29 00:54:51 -04:00
yellows8
102adfe872 Added UDS_CHECK_SENDTO_FATALERROR and updated comments for udsPullPacket(). 2016-04-27 15:55:49 -04:00
yellows8
a65a2e0def Added flag and out params to MVDSTD_ProcessNALUnit(). Added mvdstdSetupOutputBuffers() and mvdstdOverrideOutputBuffers(). Updated mvdstdInit() to use an initstruct, and clear the workbuf. In mvdstdInit(), use a seperate retval for MVDSTD_ControlFrameRendering() so that the actual retval is returned correctly. Updated mvdstdGenerateDefaultConfig(). Updated mvdstdProcessVideoFrame(). Updated mvd.h. 2016-04-25 12:21:16 -04:00
yellows8
030393a753 Updated the MVDSTD_Config struct. Removed config setup in mvdstdGenerateDefaultConfig() which is actually optional. 2016-04-22 12:38:44 -04:00
yellows8
570f46f281 Moved rendering code from mvdstdProcessVideoFrame() into a seperate function. 2016-04-22 12:12:32 -04:00
Steven Smith
b1f4f431e8 Minor am:net corrections and additions. 2016-04-21 23:05:49 -07:00
yellows8
1578cd7e82 Updated the MVD implementation to support video processing. Fixed some issues, etc. 2016-04-21 19:22:14 -04:00
yellows8
f9f7eccc33 Implemented recv_buffer_size for UDS bind handling, this was added to the udsCreateNetwork()/udsConnectNetwork() params too. Run udsBind() before creating/joining a network. Added udsAllowSpectators() and updated the UDSNETATTR enums. Added more defines. Minor other changes. Removed the 'WARNING' from the .h. 2016-04-19 13:36:18 -04:00
Steven Smith
88cffe7703 Fix FSUSER_GetArchiveResource, add more AM commands. 2016-04-16 01:09:07 -07:00
Steven Smith
fd566668d3 Add some resource limit SVCs. 2016-04-14 01:19:11 -07:00
yellows8
a653c49aaa Updated udsSetNewConnectionsBlocked() and UDSNETATTR for bitmask 0x4. 2016-04-12 22:28:42 -04:00
yellows8
e61e45abdc Added httpcAddDefaultCert, and some header include changes to support this. 2016-04-11 21:27:34 -04:00
yellows8
47155d75b6 Merged the HTTPC_* functions with httpc* and removed HTTPC_* from the .h, etc(this is similar to how sslc is already handled). 2016-04-11 16:19:23 -04:00
Steven Smith
3a84c7237e Add ARCHIVE_TWL_SOUND. 2016-04-11 09:16:02 -07:00
Steven Smith
e266fa8362 Add result module codes. 2016-04-10 12:52:59 -07:00
Steven Smith
001623c43d Fix buffer type in FSUSER_EnumerateSystemSaveData. 2016-04-09 23:53:45 -07:00
Ken Sanislo
d1aaf68665 fix typo from #272 2016-04-09 15:08:52 -07:00
fincs
2706026ff4 Merge pull request #261 from Steveice10/master
Clean up and update AM service functions.
2016-04-09 23:17:32 +02:00
yellows8
b6e0555b1a Implemented UDS data_channel handling. Added the data_channel param to udsBind(), udsConnectNetwork(), and udsCreateNetwork(). Removed UDS_SEND_NETFLAGS_DEFAULT. The output bind context for network creation/connecting is now optional. 2016-04-08 19:09:15 -04:00
Ken Sanislo
353f7af759 httpcSetSSLOpt support (#272)
httpcSetSSLOpt support
2016-04-08 17:37:07 -04:00
yellows8
0c1e656a2b Switched 'input8' for udsSendTo() to 'netflags'. Minor other changes. 2016-04-08 01:20:21 -04:00
yellows8
f6bf7e7b1f Updated comments for udsNodeInfo. 2016-04-07 16:51:03 -04:00
yellows8
daba63af69 Updated udsNodeInfo and udsConnectionStatus. Updated the related code for udsNodeInfo. 2016-04-07 16:31:26 -04:00
yellows8
570c834679 Updated udsConnectionStatus and networkstruct. Removed total_nodes from udsNetworkScanInfo since that's stored in the networkstruct. 2016-04-07 13:06:23 -04:00
Michael Theall
72b6b3e48b Const-correctness and some size_t parameters for UDS 2016-04-07 10:38:44 -05:00
yellows8
d7500b3608 Properly load the UDS network wifi channel, apparently it was hard-coded to channel 1 previously. This fixed the udsConnectNetwork() failures with the example app(not yet available under the 3ds-examples repo). 2016-04-07 10:04:48 -04:00
yellows8
6f6926921e Added a new param to udsScanBeacons() for using ScanOnConnection internally. 2016-04-06 19:38:56 -04:00
yellows8
bdb2835b62 Added udsEjectSpectator(). 2016-04-06 16:32:25 -04:00
yellows8
1671aeb7c2 Implemented full support for connecting as an UDS spectator. 2016-04-06 16:26:06 -04:00
yellows8
3b1673b673 Updated the udsConnectionStatus struct. 2016-04-06 13:41:37 -04:00
yellows8
688b2649c5 Added udsWaitConnectionStatusEvent(). Updated the udsConnectionStatus struct. 2016-04-06 13:02:26 -04:00
yellows8
72cb548cb0 Added udsGetConnectionStatus(). 2016-04-06 12:46:08 -04:00
yellows8
9b5c1a3a6a Added udsGetNodeInformation(). 2016-04-06 12:24:43 -04:00
yellows8
b11004f221 Implemented udsUpdateNetworkAttribute() and udsSetNewConnectionsBlocked(). 2016-04-06 01:56:02 -04:00
yellows8
6570ade097 Disabled the debug prints for network-connecting and implemented udsEjectClient(). 2016-04-06 00:48:08 -04:00
Michael Theall
4393593e48 Add readdir batching to sdmc 2016-04-05 17:36:09 -05:00
yellows8
db6432ce0a Added udsGetNetworkStructApplicationData(). 2016-04-05 17:37:07 -04:00
yellows8
9ad6e0945c Fixed udsGetChannel() output. Implemented udsSetApplicationData() and udsGetApplicationData(). Added a comment regarding why there's debug prints in udsConnectNetwork(). 2016-04-05 16:57:16 -04:00
yellows8
d2f9655d8a Added udsWaitDataAvailable(), based on gspWaitForEvent(). 2016-04-05 12:07:24 -04:00
yellows8
4123baba50 Added UDS_HOST_NETWORKNODEID. Updated UDS_SENDFLAG_Broadcast. 2016-04-05 11:26:48 -04:00
yellows8
fa70037055 Added host_macaddress parameter to udsScanBeacons(). 2016-04-05 11:01:16 -04:00
yellows8
d654cf1b88 Switched UDS_SEND_INPUT8_DEFAULT to 0xF3, udsPullPacket() returns actual output data which was sent via udsSendTo() now. 2016-04-05 10:26:16 -04:00
yellows8
a896bf772c Implemented udsCheckNodeInfoInitialized() and udsGetChannel(). Implemented network (dis)connect and scanning code. Implemented udsPullPacket(). Fixed some issues. Updated uds.h for beacon scanning etc. 2016-04-05 10:07:04 -04:00
yellows8
9aa9d32e11 Added varioues UDS structs and enums+defines. Implemented udsGenerateDefaultNetworkStruct(). Implemented code for creating+destroying networks. Implemented code for binds. Implemented udsSendTo(). 2016-04-04 14:26:49 -04:00
yellows8
c9d2f74815 Implemented some support for ndmu. Started implementing support for UDS. 2016-04-04 00:11:37 -04:00
yellows8
b9c0ca992d Implemented support for sslc cmd8..cmdc CertChain commands. Clear the serv handle in sslcExit. 2016-03-31 12:37:20 -04:00
yellows8
2964d87ed4 Implemented sslcAddCert. 2016-03-31 11:28:32 -04:00
yellows8
3bb7451c3d Implemented sslcContextInitSharedmem. 2016-03-30 16:51:42 -04:00
yellows8
1346fae04f Switched sslcContextGetStrings to sslcContextGetProtocolCipher since it's documented now. 2016-03-30 16:04:17 -04:00
yellows8
44b601d7b8 Switched the sslopt enum to anonymous, and updated sslcRead(), as requested. Implemented sslcContextGetStrings. 2016-03-30 15:02:18 -04:00
yellows8
1e5c91989f Switched to using an enum for sslopt. Updated the type handling for sslcRead. 2016-03-30 14:24:24 -04:00
yellows8
3d90087481 Implemented actual support for sslc, homebrew can now actually use sslc(see also the sslc example). 2016-03-30 13:57:20 -04:00
yellows8
b7b78414da Implemented SOCU_AddGlobalSocket. 2016-03-30 13:52:15 -04:00
Steven Smith
932630764f Clean up and update AM service functions. 2016-03-29 16:16:15 -07:00
MerryMage
d431a67f31 ndsp: Monopole and biquad channel filter params 2016-03-25 19:30:46 +00:00
yellows8
5b7468e5cf Added initial sslc support. Minus init/exit this only has sslcAddTrustedRootCA implemented. 2016-03-08 19:29:48 -05:00
yellows8
d769879933 Added httpc AddTrustedRootCA. 2016-03-08 18:19:51 -05:00
yellows8
049d2e2373 Finally added code to exit httpc properly via HTTPC_Finalize. 2016-03-08 15:00:57 -05:00
yellows8
e2852d14f1 Merge pull request #267 from Bownairo/master
Adds function addPostDataRaw
2016-03-06 15:24:04 -05:00
Eero Kelly
12a5fa297a Adds function addPostDataRaw 2016-03-06 15:21:01 -05:00
Ryan Loebs
1c55370cee Update hid.h comments
Nit-picky update to accurately describe the `hidKeys*()` functions, and how to extract individual bits from them.
2016-02-24 04:32:57 -08:00
Lectem
6d5a06227b add a note for svcExitThread and the thread API
Calling svcExitThread will make it so that threadCreate detached parameter won't work.
2016-02-16 13:15:31 -05:00
yellows8
e4e51e758b Implemented actual httpc sharedmem handling. Implemented httpc AddPostDataAscii. 2016-02-12 18:38:39 -05:00
Ken Sanislo
e1a9d2ef9c httpc fixes and extensions
Signed-off-by: Dave Murphy <davem@devkitpro.org>
2016-02-12 16:38:43 +00:00