mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-17 00:24:23 -04:00
kern: remove per-KInterruptEventTask locks
This commit is contained in:
parent
e6a6fe6f38
commit
29cc3d1c09
2 changed files with 9 additions and 12 deletions
|
@ -48,13 +48,10 @@ namespace ams::kern {
|
|||
class KInterruptEventTask : public KSlabAllocated<KInterruptEventTask>, public KInterruptTask {
|
||||
private:
|
||||
KInterruptEvent *m_event;
|
||||
KLightLock m_lock;
|
||||
public:
|
||||
constexpr KInterruptEventTask() : m_event(nullptr), m_lock() { /* ... */ }
|
||||
constexpr KInterruptEventTask() : m_event(nullptr) { /* ... */ }
|
||||
~KInterruptEventTask() { /* ... */ }
|
||||
|
||||
KLightLock &GetLock() { return m_lock; }
|
||||
|
||||
virtual KInterruptTask *OnInterrupt(s32 interrupt_id) override;
|
||||
virtual void DoTask() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue