Line 1:
Line 1:
=Request=
=Request=
{{IPC/Request}}
{{IPC/Request}}
−
{{#vardefine:ipc_offset|0}}
+
{{IPC/RequestHeader|0x0002|4|0}}
−
{{IPC/RequestEntry|Header code [0x00020100]}}
+
{{IPC/RequestEntryRange|2|u64 Extdata ID}}
−
{{IPC/RequestEntryRange|2|u64 extdataID}}
+
{{IPC/RequestEntry|u32, Storage size}}
−
{{IPC/RequestEntry|u32 boss_size}}
+
{{IPC/RequestEntry|u8, [[Filesystem_services#MediaType|MediaType]] (only NAND or SD)}}
−
{{IPC/RequestEntry|<nowiki>u8 extdata_type: 0 = shared(NAND), 1 = regular(SD).</nowiki>}}
{{IPC/RequestEnd}}
{{IPC/RequestEnd}}
Line 11:
Line 10:
{{IPC/Request}}
{{IPC/Request}}
{{#vardefine:ipc_offset|0}}
{{#vardefine:ipc_offset|0}}
−
{{IPC/RequestEntry|Header code}}
+
{{IPC/RequestHeader|0x0002|1|0}}
{{IPC/RequestEntry|Result code}}
{{IPC/RequestEntry|Result code}}
{{IPC/RequestEnd}}
{{IPC/RequestEnd}}
=Description=
=Description=
−
This sets the extdata storage info for the current programID, for SpotPass content. This is immediately written into the BOSS NAND savedata.
+
This sets the extdata storage info for the program ID of the current session, reserving storage for up to the given size. This is immediately written into the BOSS NAND savedata.