Changes

Jump to navigation Jump to search
57 bytes removed ,  03:22, 27 August 2020
Line 173: Line 173:  
| 20500 || [8.0.0+]
 
| 20500 || [8.0.0+]
 
|}
 
|}
 +
 +
[10.0.0+] Cmd20100 now takes an additional 0x10-bytes of input.
    
== OpenSyslogLogger ==
 
== OpenSyslogLogger ==
Line 366: Line 368:  
! Cmd || Name
 
! Cmd || Name
 
|-
 
|-
| 0 || GetAlarmEvent
+
| 0 || [[#GetAlarmEvent]]
 
|-
 
|-
| 1 || Enable
+
| 1 || [[#Enable]]
 
|-
 
|-
| 2 || Disable
+
| 2 || [[#Disable]]
 
|-
 
|-
| 3 || IsEnabled
+
| 3 || [[#IsEnabled]]
 
|-
 
|-
 
| 10 || [[#CreateWakeLock]]
 
| 10 || [[#CreateWakeLock]]
Line 378: Line 380:  
| 11 || [[#DestroyWakeLock]]
 
| 11 || [[#DestroyWakeLock]]
 
|}
 
|}
 +
 +
=== GetAlarmEvent ===
 +
No input, returns an output Event handle with EventClearMode=0.
 +
 +
Official sw uses this during object creation.
 +
 +
=== Enable ===
 +
Takes an input u64, no output.
 +
 +
The u64 is a nanoseconds value.
 +
 +
=== Disable ===
 +
No input/output.
 +
 +
Official sw uses [[#IsEnabled]] first, if the output bool is 0 it will skip using the Disable cmd.
 +
 +
=== IsEnabled ===
 +
No input, returns an output bool.
    
=== CreateWakeLock ===
 
=== CreateWakeLock ===
Line 383: Line 403:     
=== DestroyWakeLock ===
 
=== DestroyWakeLock ===
 +
No input/output.
 +
 
Close the session opened by [[#CreateWakeLock]] when the alarm is disabled.
 
Close the session opened by [[#CreateWakeLock]] when the alarm is disabled.
   Line 708: Line 730:  
Takes an input u32 '''InsID''' and an input u64 (unused, official software passes struct pointer). Returns an output Event handle with autoclear disabled.
 
Takes an input u32 '''InsID''' and an input u64 (unused, official software passes struct pointer). Returns an output Event handle with autoclear disabled.
   −
= PSC Module IDs =
+
= PmModuleId =
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
! ID || Module
+
! Name || Module
 
|-
 
|-
 
| 0x00 ||
 
| 0x00 ||
Line 721: Line 743:  
| 0x03 ||
 
| 0x03 ||
 
|-
 
|-
| 0x04 || [[USB_services|PmModuleId_Usb]]
+
| 0x04 || [[USB_services|Usb]]
 
|-
 
|-
| 0x05 || [[Sockets_services|PmModuleId_Ethernet]]
+
| 0x05 || [[Sockets_services|Ethernet]]
 
|-
 
|-
| 0x06 || [[PTM_services|PmModuleId_Fgm]]
+
| 0x06 || [[PTM_services|Fgm]]
 
|-
 
|-
| 0x07 || [[PCV_services|PmModuleId_PcvClock]]
+
| 0x07 || [[PCV_services|PcvClock]]
 
|-
 
|-
| 0x08 || [[PCV_services|PmModuleId_PcvVoltage]]
+
| 0x08 || [[PCV_services|PcvVoltage]]
 
|-
 
|-
| 0x09 || [[Bus_services|PmModuleId_Gpio]]
+
| 0x09 || [[Bus_services|Gpio]]
 
|-
 
|-
| 0x0A || [[Bus_services|PmModuleId_Pinmux]]
+
| 0x0A || [[Bus_services|Pinmux]]
 
|-
 
|-
| 0x0B || [[Bus_services|PmModuleId_Uart]]
+
| 0x0B || [[Bus_services|Uart]]
 
|-
 
|-
| 0x0C || [[Bus_services|PmModuleId_I2c]]
+
| 0x0C || [[Bus_services|I2c]]
 
|-
 
|-
| 0x0D || [[Bus_services|PmModuleId_I2cPcv]]
+
| 0x0D || [[Bus_services|I2cPcv]]
 
|-
 
|-
| 0x0E || [[Bus_services|PmModuleId_Spi]]
+
| 0x0E || [[Bus_services|Spi]]
 
|-
 
|-
| 0x0F || [[Bus_services|PmModuleId_Pwm]]
+
| 0x0F || [[Bus_services|Pwm]]
 
|-
 
|-
| 0x10 || [[PTM_services|PmModuleId_Psm]]
+
| 0x10 || [[PTM_services|Psm]]
 
|-
 
|-
| 0x11 || [[PTM_services|PmModuleId_Tc]]
+
| 0x11 || [[PTM_services|Tc]]
 
|-
 
|-
| 0x12 || [[Applet_Manager_services|PmModuleId_Omm]]
+
| 0x12 || [[Applet_Manager_services|Omm]]
 
|-
 
|-
| 0x13 || [[PCIe_services|PmModuleId_Pcie]]
+
| 0x13 || [[PCIe_services|Pcie]]
 
|-
 
|-
| 0x14 || [[Backlight_services|PmModuleId_Lbl]]
+
| 0x14 || [[Backlight_services|Lbl]]
 
|-
 
|-
| 0x15 || [[Nvnflinger_services|PmModuleId_Display]]
+
| 0x15 || [[Nvnflinger_services|Display]]
 
|-
 
|-
 
| 0x16 ||
 
| 0x16 ||
Line 761: Line 783:  
| 0x17 ||
 
| 0x17 ||
 
|-
 
|-
| 0x18 || [[HID_services|PmModuleId_Hid]]
+
| 0x18 || [[HID_services|Hid]]
 
|-
 
|-
| 0x19 || [[WLAN_services|PmModuleId_WlanSockets]]
+
| 0x19 || [[WLAN_services|WlanSockets]]
 
|-
 
|-
 
| 0x1A ||
 
| 0x1A ||
 
|-
 
|-
| 0x1B || [[Filesystem_services|PmModuleId_Fs]]
+
| 0x1B || [[Filesystem_services|Fs]]
 
|-
 
|-
| 0x1C || [[Audio_services|PmModuleId_Audio]]
+
| 0x1C || [[Audio_services|Audio]]
 
|-
 
|-
 
| 0x1D ||
 
| 0x1D ||
 
|-
 
|-
| 0x1E || [[TMA_services|PmModuleId_TmaHostIo]]
+
| 0x1E || [[TMA_services|TmaHostIo]]
 
|-
 
|-
| 0x1F || [[Bluetooth_Driver_services|PmModuleId_Bluetooth]]
+
| 0x1F || [[Bluetooth_Driver_services|Bluetooth]]
 
|-
 
|-
| 0x20 || [[PCV_services|PmModuleId_Bpc]]
+
| 0x20 || [[PCV_services|Bpc]]
 
|-
 
|-
| 0x21 || [[PTM_services|PmModuleId_Fan]]
+
| 0x21 || [[PTM_services|Fan]]
 
|-
 
|-
| 0x22 || [[PTM_services|PmModuleId_Pcm]]
+
| 0x22 || [[PTM_services|Pcm]]
 
|-
 
|-
| 0x23 || [[NFC_services|PmModuleId_Nfc]]
+
| 0x23 || [[NFC_services|Nfc]]
 
|-  
 
|-  
| 0x24 || [[PTM_services|PmModuleId_Apm]]
+
| 0x24 || [[PTM_services|Apm]]
 
|-
 
|-
| 0x25 || [[BTM_services|PmModuleId_Btm]]
+
| 0x25 || [[BTM_services|Btm]]
 
|-
 
|-
| 0x26 || [[Network_Interface_services|PmModuleId_Nifm]]
+
| 0x26 || [[Network_Interface_services|Nifm]]
 
|-
 
|-
| 0x27 || [[Bus_services|PmModuleId_GpioLow]]
+
| 0x27 || [[Bus_services|GpioLow]]
 
|-
 
|-
| 0x28 || [[NPNS_services|PmModuleId_Npns]]
+
| 0x28 || [[NPNS_services|Npns]]
 
|-
 
|-
| 0x29 || [[Log_services|PmModuleId_Lm]]
+
| 0x29 || [[Log_services|Lm]]
 
|-
 
|-
| 0x2A || [[BCAT_services|PmModuleId_Bcat]]
+
| 0x2A || [[BCAT_services|Bcat]]
 
|-
 
|-
| 0x2B || [[Glue_services|PmModuleId_Time]]
+
| 0x2B || [[Glue_services|Time]]
 
|-
 
|-
| 0x2C || [[Parental_Control_services|PmModuleId_Pctl]]
+
| 0x2C || [[Parental_Control_services|Pctl]]
 
|-
 
|-
| 0x2D || [[Error_Report_services|PmModuleId_Erpt]]
+
| 0x2D || [[Error_Report_services|Erpt]]
 
|-
 
|-
| 0x2E || [[Error_Upload_services|PmModuleId_Eupld]]
+
| 0x2E || [[Error_Upload_services|Eupld]]
 
|-
 
|-
| 0x2F || [[Friend_services|PmModuleId_Friends]]
+
| 0x2F || [[Friend_services|Friends]]
 
|-
 
|-
| 0x30 || [[Glue_services|PmModuleId_Bgtc]]
+
| 0x30 || [[Glue_services|Bgtc]]
 
|-
 
|-
| 0x31 || [[Account_services|PmModuleId_Account]]
+
| 0x31 || [[Account_services|Account]]
 
|-
 
|-
| 0x32 || [[Bus_services|PmModuleId_Sasbus]]
+
| 0x32 || [[Bus_services|Sasbus]]
 
|-
 
|-
| 0x33 || [[NIM_services|PmModuleId_Ntc]]
+
| 0x33 || [[NIM_services|Ntc]]
 
|-
 
|-
| 0x34 || [[Applet_Manager_services|PmModuleId_Idle]]
+
| 0x34 || [[Applet_Manager_services|Idle]]
 
|-
 
|-
| 0x35 || [[Applet_Manager_services|PmModuleId_Tcap]]
+
| 0x35 || [[Applet_Manager_services|Tcap]]
 
|-
 
|-
| 0x36 || [[PTM_services|PmModuleId_PsmLow]]
+
| 0x36 || [[PTM_services|PsmLow]]
 
|-
 
|-
| 0x37 || [[LDN_services|PmModuleId_Ndd]]
+
| 0x37 || [[LDN_services|Ndd]]
 
|-
 
|-
| 0x38 || [[OLSC_services|PmModuleId_Olsc]]
+
| 0x38 || [[OLSC_services|Olsc]]
 
|-
 
|-
| 0x39 ||
+
| 0x39 || [[PCV_services|Rtc]]
 
|-
 
|-
 
| 0x3A ||
 
| 0x3A ||
Line 835: Line 857:  
| 0x3C ||
 
| 0x3C ||
 
|-
 
|-
| 0x3D || [[NS_Services|PmModuleId_Ns]]
+
| 0x3D || [[NS_Services|Ns]]
 
|-
 
|-
| 0x3F || [[Applet_Manager_services|PmModuleId_NotificationPresenter]]
+
| 0x3F || [[Applet_Manager_services|NotificationPresenter]]
 
|-
 
|-
| 0x65 || [[NV_services|PmModuleId_Nvservices]]
+
| 0x65 || [[NV_services|Nvservices]]
 
|-
 
|-
| 0x7F || [[Applet_Manager_services|PmModuleId_Spsm]]
+
| 0x7F || [[Applet_Manager_services|Spsm]]
 
|}
 
|}
   Line 847: Line 869:  
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
! ID || Name || Description
+
! State || Name || Description
 
|-
 
|-
 
| Awake || 0 || Everything is awake.
 
| Awake || 0 || Everything is awake.

Navigation menu