thermosphere: singleton ctors should be private

This commit is contained in:
TuxSH
2020-02-21 00:20:50 +00:00
parent f6793139c1
commit 77fbbb4c68
5 changed files with 15 additions and 11 deletions

View File

@@ -79,6 +79,9 @@ namespace ams::hvisor {
void InitializeGic();
void DoConfigureInterrupt(u32 id, u8 prio, bool isLevelSensitive);
private:
constexpr IrqManager() = default;
public:
enum ThermosphereSgi : u32 {
VgicUpdateSgi = 0,
@@ -109,9 +112,6 @@ namespace ams::hvisor {
void Initialize();
void Register(IInterruptTask &task, u32 id, bool isLevelSensitive, u8 prio = IrqManager::hostPriority);
void SetInterruptAffinity(u32 id, u8 affinityMask);
public:
constexpr IrqManager() = default;
};
}