am: Implement ISelfController Exit

Closes the current application.
This commit is contained in:
Zach Hilman
2019-07-06 13:41:38 -04:00
parent 4c1c8801a5
commit a7fda84902
4 changed files with 20 additions and 4 deletions

View File

@ -125,6 +125,7 @@ public:
~ISelfController() override;
private:
void Exit(Kernel::HLERequestContext& ctx);
void LockExit(Kernel::HLERequestContext& ctx);
void UnlockExit(Kernel::HLERequestContext& ctx);
void EnterFatalSection(Kernel::HLERequestContext& ctx);
@ -153,6 +154,8 @@ private:
u32 idle_time_detection_extension = 0;
u64 num_fatal_sections_entered = 0;
bool is_auto_sleep_disabled = false;
Core::System& system;
};
class ICommonStateGetter final : public ServiceFramework<ICommonStateGetter> {