kernel: Rewrite resource limit to be more accurate
Matches closer to hardware
This commit is contained in:
parent
a4526c4e1a
commit
3be1a565f8
13 changed files with 357 additions and 231 deletions
|
@ -38,7 +38,7 @@ class GlobalSchedulerContext;
|
|||
class HandleTable;
|
||||
class PhysicalCore;
|
||||
class Process;
|
||||
class ResourceLimit;
|
||||
class KResourceLimit;
|
||||
class KScheduler;
|
||||
class SharedMemory;
|
||||
class ServiceThread;
|
||||
|
@ -85,7 +85,7 @@ public:
|
|||
void Shutdown();
|
||||
|
||||
/// Retrieves a shared pointer to the system resource limit instance.
|
||||
std::shared_ptr<ResourceLimit> GetSystemResourceLimit() const;
|
||||
std::shared_ptr<KResourceLimit> GetSystemResourceLimit() const;
|
||||
|
||||
/// Retrieves a shared pointer to a Thread instance within the thread wakeup handle table.
|
||||
std::shared_ptr<KThread> RetrieveThreadFromGlobalHandleTable(Handle handle) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue