mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-12-29 18:55:36 +00:00
service/pm: Tidy up functionality related to SystemBootMode
Just minor tidying of interfaces.
This commit is contained in:
parent
72c48e01c9
commit
cb2ce9924a
|
@ -24,8 +24,10 @@ private:
|
|||
|
||||
IPC::ResponseBuilder rb{ctx, 3};
|
||||
rb.Push(RESULT_SUCCESS);
|
||||
rb.Push<u32>(static_cast<u32>(SystemBootMode::Normal)); // Normal boot mode
|
||||
rb.PushEnum(boot_mode);
|
||||
}
|
||||
|
||||
SystemBootMode boot_mode = SystemBootMode::Normal;
|
||||
};
|
||||
|
||||
class DebugMonitor final : public ServiceFramework<DebugMonitor> {
|
||||
|
|
|
@ -9,7 +9,12 @@ class ServiceManager;
|
|||
}
|
||||
|
||||
namespace Service::PM {
|
||||
enum class SystemBootMode : u32 { Normal = 0, Maintenance = 1 };
|
||||
|
||||
enum class SystemBootMode {
|
||||
Normal,
|
||||
Maintenance,
|
||||
};
|
||||
|
||||
/// Registers all PM services with the specified service manager.
|
||||
void InstallInterfaces(SM::ServiceManager& service_manager);
|
||||
|
||||
|
|
Loading…
Reference in a new issue