mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-16 16:14:25 -04:00
kern: devirtualize KReadableEvent::Reset, KWorkerTask::DoWorkerTask
This commit is contained in:
parent
fd187f952e
commit
54dde406bc
12 changed files with 62 additions and 24 deletions
|
@ -38,7 +38,16 @@ namespace ams::kern {
|
|||
Result Initialize(int32_t interrupt_name, ams::svc::InterruptType type);
|
||||
void Finalize();
|
||||
|
||||
virtual Result Reset() override;
|
||||
Result Reset();
|
||||
|
||||
Result Clear() {
|
||||
MESOSPHERE_ASSERT_THIS();
|
||||
|
||||
/* Try to perform a reset, succeeding unconditionally. */
|
||||
this->Reset();
|
||||
|
||||
return ResultSuccess();
|
||||
}
|
||||
|
||||
bool IsInitialized() const { return m_is_initialized; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue