Fix uninitialized warning and remove header pollution (#803)

* Fix uninitialized warning and remove header pollution

* Nits

* IWYU

* More IWYU
This commit is contained in:
wheremyfoodat
2025-08-07 23:12:45 +03:00
committed by GitHub
parent 1f2403c417
commit bd81c72608
17 changed files with 66 additions and 94 deletions

View File

@@ -1,7 +1,5 @@
#pragma once
#include <array>
#include <cassert>
#include <limits>
#include <span>
#include <string>
#include <vector>
@@ -26,8 +24,10 @@ class Kernel {
CPU& cpu;
Memory& mem;
public:
KFcram fcramManager;
private:
// The handle number for the next kernel object to be created
u32 handleCounter;
// A list of our OS threads, the max number of which depends on the resource limit (hardcoded 32 per process on retail it seems).
@@ -250,7 +250,6 @@ class Kernel {
}
ServiceManager& getServiceManager() { return serviceManager; }
KFcram& getFcramManager() { return fcramManager; }
Scheduler& getScheduler();
void sendGPUInterrupt(GPUInterrupt type) { serviceManager.sendGPUInterrupt(type); }