Applet Manager services: Difference between revisions

Line 660: Line 660:


=== CreateStorage ===
=== CreateStorage ===
Takes an input u64 for the storage size, returns an [[#IStorage]].
Takes an input s64 for the storage size, returns an [[#IStorage]].


This allocates a buffer with the specified size which can then be accessed via [[#IStorageAccessor]].
This allocates a buffer with the specified size which can then be accessed via [[#IStorageAccessor]].


=== CreateTransferMemoryStorage ===
=== CreateTransferMemoryStorage ===
Takes an input TransferMemory copy-handle, an input u8 bool, and an u64 size, returns an [[#IStorage]].
Takes an input TransferMemory copy-handle, an input u8 bool, and an s64 size, returns an [[#IStorage]].


The user-process creates the TransferMemory with permissions=0.
The user-process creates the TransferMemory with permissions=0.