kern: implement much of KScheduler, KHardwareTimer

This commit is contained in:
Michael Scire
2020-02-05 13:02:35 -08:00
parent 5e4307046a
commit 62de3322ff
19 changed files with 972 additions and 72 deletions

View File

@@ -30,11 +30,11 @@ namespace ams::kern {
public:
constexpr ALWAYS_INLINE KInterruptTask() : next_task(nullptr) { /* ... */ }
ALWAYS_INLINE KInterruptTask *GetNextTask() const {
constexpr ALWAYS_INLINE KInterruptTask *GetNextTask() const {
return this->next_task;
}
ALWAYS_INLINE void SetNextTask(KInterruptTask *t) {
constexpr ALWAYS_INLINE void SetNextTask(KInterruptTask *t) {
this->next_task = t;
}