Shared Database services: Difference between revisions
Jump to navigation
Jump to search
Add full interface name (imported from SwIPC) |
No edit summary |
||
| Line 15: | Line 15: | ||
| 3 || [[#GetSharedMemoryAddressOffset]] | | 3 || [[#GetSharedMemoryAddressOffset]] | ||
|- | |- | ||
| 4 || GetSharedMemoryNativeHandle | | 4 || [[#GetSharedMemoryNativeHandle]] | ||
|- | |- | ||
| 5 || GetSharedFontInOrderOfPriority | | 5 || [[#GetSharedFontInOrderOfPriority]] | ||
|} | |} | ||
== RequestLoad == | == RequestLoad == | ||
Takes a [[#SharedFontType]] (uint32) | Takes a [[#SharedFontType]] (uint32), no output. | ||
== GetLoadState == | == GetLoadState == | ||
| Line 41: | Line 41: | ||
== GetSize == | == GetSize == | ||
Takes a [[#SharedFontType]] (uint32), returns the Font Size (uint32) | Takes a [[#SharedFontType]] (uint32), returns the Font Size (uint32). | ||
== GetSharedMemoryAddressOffset == | == GetSharedMemoryAddressOffset == | ||
Takes a [[#SharedFontType]] (uint32), returns the offset (uint32) to the Font Address. | Takes a [[#SharedFontType]] (uint32), returns the offset (uint32) to the Font Address. | ||
== GetSharedMemoryNativeHandle == | |||
No input, returns an output SharedMemory handle. | |||
User-processes map this SharedMemory with size=0x1100000 and permissions=R--. | |||
== GetSharedFontInOrderOfPriority == | |||
Takes an input u64 [[Settings_services#LanguageCode|LanguageCode]] and 3 type-0x6 output buffers, returns an output u8 and u32. | |||
== SharedFontType == | == SharedFontType == | ||
Revision as of 23:05, 12 March 2018
This is "nn::pl::detail::ISharedFontManager".
| Cmd | Name |
|---|---|
| 0 | #RequestLoad |
| 1 | #GetLoadState |
| 2 | #GetSize |
| 3 | #GetSharedMemoryAddressOffset |
| 4 | #GetSharedMemoryNativeHandle |
| 5 | #GetSharedFontInOrderOfPriority |
RequestLoad
Takes a #SharedFontType (uint32), no output.
GetLoadState
Takes a #SharedFontType (uint32), returns the #LoadState (uint32).
LoadState
| Value | Description |
|---|---|
| 0x00 | Loading |
| 0x01 | Loaded |
GetSize
Takes a #SharedFontType (uint32), returns the Font Size (uint32).
Takes a #SharedFontType (uint32), returns the offset (uint32) to the Font Address.
No input, returns an output SharedMemory handle.
User-processes map this SharedMemory with size=0x1100000 and permissions=R--.
Takes an input u64 LanguageCode and 3 type-0x6 output buffers, returns an output u8 and u32.
| Value | Description |
|---|---|
| 0x00 | Japan, US and Europe (Standard) |
| 0x01 | Chinese Simplified |
| 0x02 | Extended Chinese Simplified |
| 0x03 | Chinese Traditional |
| 0x04 | Korean (Hangul) |
| 0x05 | Nintendo Extended |
mii:u, mii:e
This is "nn::mii::detail::IStaticService".
| Cmd | Name |
|---|---|
| 0 | GetDatabaseServiceSharedPointer |