diff options
| author | Amlal El Mahrouss <zka-holder@mahrouss-logic.com> | 2024-10-20 07:07:08 +0000 |
|---|---|---|
| committer | Amlal El Mahrouss <zka-holder@mahrouss-logic.com> | 2024-10-20 07:07:08 +0000 |
| commit | 704879ab7f080ce60bcffda02e3dda6330a4f1fd (patch) | |
| tree | 3970ff78405684f08f01e9e68ebb77a038c28e57 /dev/zka/KernelKit/UserProcessScheduler.hxx | |
| parent | 9d092dd8a9bff165d6159e9fbedb2e361ff54987 (diff) | |
NeFS: Officialize minimum disk size into the specs.
HPFS: Start implementing it.
UPS: Check PTime, and decrementing it when it isn't our time yet, also added new Subsystem entries.
FSKit: Better documentation and provide 256U instead of only 256.
EBS: Fixed HPFS magic number, which wasn't correctly bound to 8 bytes.
BUILD: Fixed blob.json for epm.asm
Diffstat (limited to 'dev/zka/KernelKit/UserProcessScheduler.hxx')
| -rw-r--r-- | dev/zka/KernelKit/UserProcessScheduler.hxx | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/dev/zka/KernelKit/UserProcessScheduler.hxx b/dev/zka/KernelKit/UserProcessScheduler.hxx index a83027b2..bd07a88e 100644 --- a/dev/zka/KernelKit/UserProcessScheduler.hxx +++ b/dev/zka/KernelKit/UserProcessScheduler.hxx @@ -99,12 +99,14 @@ namespace Kernel // end of operator overloading. - enum ProcessSubsystemEnum + enum ProcessSubsystemEnum : Int32 { - eProcessSubsystemSecurity, - eProcessSubsystemNative, - eProcessSubsystemInvalid, - eProcessSubsystemCount, + kProcessSubsystemSecurity = 100, + kProcessSubsystemApplication, + kProcessSubsystemService, + kProcessSubsystemDriver, + kProcessSubsystemInvalid = 255, + kProcessSubsystemCount = 4, }; using ProcessSubsystem = ProcessSubsystemEnum; @@ -144,8 +146,8 @@ namespace Kernel const UInt32& GetExitCode() noexcept; public: - Char Name[kProcessLen] = {"PROCESS #0 (TEAM 0)"}; - ProcessSubsystem SubSystem{ProcessSubsystem::eProcessSubsystemInvalid}; + Char Name[kProcessLen] = {"ZKA Process"}; + ProcessSubsystem SubSystem{ProcessSubsystem::kProcessSubsystemInvalid}; User* Owner{nullptr}; HAL::StackFramePtr StackFrame{nullptr}; AffinityKind Affinity{AffinityKind::kStandard}; |
