pm: add support for maintenance mode

This commit is contained in:
Michael Scire
2019-01-21 23:31:59 -08:00
parent 24f74312f2
commit 8a73ad996a
3 changed files with 48 additions and 3 deletions

View File

@@ -28,6 +28,8 @@ class BootModeService final : public IServiceObject {
/* Actual commands. */
void GetBootMode(Out<u32> out);
void SetMaintenanceBoot();
public:
static void SetMaintenanceBootForEmbeddedBoot2();
public:
DEFINE_SERVICE_DISPATCH_TABLE {
MakeServiceCommandMeta<BootMode_Cmd_GetBootMode, &BootModeService::GetBootMode>(),