Filesystem services: Difference between revisions

No edit summary
No edit summary
Line 1,063: Line 1,063:
| 5 || [2.0.0+] [[#GetAndClearSdCardErrorInfo]]
| 5 || [2.0.0+] [[#GetAndClearSdCardErrorInfo]]
|-
|-
| 6 || [17.0.0+] GetSdCardHostControllerStatus
| 6 || [17.0.0+] [[#GetSdCardHostControllerStatus]]
|-
|-
| 100 || [[#GetMmcCid]]
| 100 || [[#GetMmcCid]]
Line 1,083: Line 1,083:
| 116 || [4.0.0+] [[#ResumeMmcPatrol]]
| 116 || [4.0.0+] [[#ResumeMmcPatrol]]
|-
|-
| 117 || [17.0.0+] EraseMmcWithRange
| 117 || [17.0.0+] [[#EraseMmcWithRange]]
|-
|-
| 200 || [[#IsGameCardInserted]]
| 200 || [[#IsGameCardInserted]]
Line 1,131: Line 1,131:
| 222 || [18.0.0+] [[#GetGameCardCardHeader]]
| 222 || [18.0.0+] [[#GetGameCardCardHeader]]
|-
|-
| 223 || [19.0.0+] SetGameCardSessionCreationDelay
| 223 || [19.0.0+] [[#SetGameCardSessionCreationDelay]]
|-
|-
| 224 || [19.0.0+] GetGameCardApplicationIdList
| 224 || [19.0.0+] [[#GetGameCardApplicationIdList]]
|-
|-
| 300 || [[#SetSpeedEmulationMode]]
| 300 || [[#SetSpeedEmulationMode]]
Line 1,139: Line 1,139:
| 301 || [[#GetSpeedEmulationMode]]
| 301 || [[#GetSpeedEmulationMode]]
|-
|-
| 302 || [18.0.0+] SetApplicationStorageSpeed
| 302 || [18.0.0+] [[#SetApplicationStorageSpeed]]
|-
|-
| 400 || [5.0.0+] [[#SuspendSdmmcControl]]
| 400 || [5.0.0+] [[#SuspendSdmmcControl]]
Line 1,169: Line 1,169:
== GetAndClearSdCardErrorInfo ==
== GetAndClearSdCardErrorInfo ==
Takes a type-0x6 output buffer '''LogBuffer''' and an input s64 '''LogBufferSize'''. Returns an output [[#StorageErrorInfo]] and an output s64 '''LogSize'''.
Takes a type-0x6 output buffer '''LogBuffer''' and an input s64 '''LogBufferSize'''. Returns an output [[#StorageErrorInfo]] and an output s64 '''LogSize'''.
== GetSdCardHostControllerStatus ==
No input. Returns an output [[#HostControllerStatus]].


== GetMmcCid ==
== GetMmcCid ==
Line 1,196: Line 1,199:
== ResumeMmcPatrol ==
== ResumeMmcPatrol ==
No input/output.
No input/output.
== EraseMmcWithRange ==
Takes an input [[#MmcPartition]] and two input u64s. No output.


== IsGameCardInserted ==
== IsGameCardInserted ==
Line 1,269: Line 1,275:
== GetGameCardCardHeader ==
== GetGameCardCardHeader ==
Takes a type-0x6 output buffer, an input s64 '''BufferSize''' and an input [[#GameCardHandle]]. No output.
Takes a type-0x6 output buffer, an input s64 '''BufferSize''' and an input [[#GameCardHandle]]. No output.
== SetGameCardSessionCreationDelay ==
Takes two input bools and an input u32. No output.
== GetGameCardApplicationIdList ==
Takes a type-0x6 output buffer, an input s64 '''BufferSize''' and an input [[#GameCardHandle]]. Returns an output u16.


== SetSpeedEmulationMode ==
== SetSpeedEmulationMode ==
Line 1,275: Line 1,287:
== GetSpeedEmulationMode ==
== GetSpeedEmulationMode ==
No input. Returns an output [[#SpeedEmulationMode]].
No input. Returns an output [[#SpeedEmulationMode]].
== SetApplicationStorageSpeed ==
Takes an input s32. No output.


== SuspendSdmmcControl ==
== SuspendSdmmcControl ==
Line 2,256: Line 2,271:
|-
|-
| 2 || BootPartition2
| 2 || BootPartition2
|}
= HostControllerStatus =
This is "nn::sdcard::HostControllerStatus".
{| class="wikitable" border="1"
|-
! Offset
! Size
! Description
|-
| 0x0
| 0xC
|
|}
|}