|
|
@ -23,9 +23,14 @@ public: |
|
|
{5, nullptr, "GetBoardPowerControlEvent"}, |
|
|
{5, nullptr, "GetBoardPowerControlEvent"}, |
|
|
{6, nullptr, "GetSleepButtonState"}, |
|
|
{6, nullptr, "GetSleepButtonState"}, |
|
|
{7, nullptr, "GetPowerEvent"}, |
|
|
{7, nullptr, "GetPowerEvent"}, |
|
|
{8, nullptr, "Unknown1"}, |
|
|
|
|
|
{9, nullptr, "Unknown2"}, |
|
|
|
|
|
{10, nullptr, "Unknown3"}, |
|
|
|
|
|
|
|
|
{8, nullptr, "CreateWakeupTimer"}, |
|
|
|
|
|
{9, nullptr, "CancelWakeupTimer"}, |
|
|
|
|
|
{10, nullptr, "EnableWakeupTimerOnDevice"}, |
|
|
|
|
|
{11, nullptr, "CreateWakeupTimerEx"}, |
|
|
|
|
|
{12, nullptr, "GetLastEnabledWakeupTimerType"}, |
|
|
|
|
|
{13, nullptr, "CleanAllWakeupTimers"}, |
|
|
|
|
|
{14, nullptr, "Unknown"}, |
|
|
|
|
|
{15, nullptr, "Unknown2"}, |
|
|
}; |
|
|
}; |
|
|
// clang-format on
|
|
|
// clang-format on
|
|
|
|
|
|
|
|
|
@ -38,10 +43,11 @@ public: |
|
|
explicit BPC_R() : ServiceFramework{"bpc:r"} { |
|
|
explicit BPC_R() : ServiceFramework{"bpc:r"} { |
|
|
// clang-format off
|
|
|
// clang-format off
|
|
|
static const FunctionInfo functions[] = { |
|
|
static const FunctionInfo functions[] = { |
|
|
{0, nullptr, "GetExternalRtcValue"}, |
|
|
|
|
|
{1, nullptr, "SetExternalRtcValue"}, |
|
|
|
|
|
{2, nullptr, "ReadExternalRtcResetFlag"}, |
|
|
|
|
|
{3, nullptr, "ClearExternalRtcResetFlag"}, |
|
|
|
|
|
|
|
|
{0, nullptr, "GetRtcTime"}, |
|
|
|
|
|
{1, nullptr, "SetRtcTime"}, |
|
|
|
|
|
{2, nullptr, "GetRtcResetDetected"}, |
|
|
|
|
|
{3, nullptr, "ClearRtcResetDetected"}, |
|
|
|
|
|
{4, nullptr, "SetUpRtcResetOnShutdown"}, |
|
|
}; |
|
|
}; |
|
|
// clang-format on
|
|
|
// clang-format on
|
|
|
|
|
|
|
|
|
|