kern: implement init through InterruptTaskManager.Initialize()
This commit is contained in:
1 parent
3c78bc4dbf
commit
3bcc4adb5c
8 files changed
+87
-6
No files matched your search
@@ -39,10 +39,16 @@ namespace ams::kern {
|
||||
private:
|
||||
TaskQueue task_queue;
|
||||
KThread *thread;
|
||||
private:
|
||||
static void ThreadFunction(uintptr_t arg);
|
||||
void ThreadFunctionImpl();
|
||||
public:
|
||||
constexpr KInterruptTaskManager() : task_queue(), thread(nullptr) { /* ... */ }
|
||||
|
||||
constexpr ALWAYS_INLINE KThread *GetThread() const { return this->thread; }
|
||||
constexpr KThread *GetThread() const { return this->thread; }
|
||||
|
||||
NOINLINE void Initialize();
|
||||
void EnqueueTask(KInterruptTask *task);
|
||||
|
||||
/* TODO: Actually implement KInterruptTaskManager. This is a placeholder. */
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user