Implement process and thread object type getters
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include <xtos.hh>
|
||||
|
||||
#include <ps/process.hh>
|
||||
#include <ps/psmgr.hh>
|
||||
#include <ps/quota.hh>
|
||||
#include <ps/thread.hh>
|
||||
|
||||
|
||||
30
xtoskrnl/includes/ps/psmgr.hh
Normal file
30
xtoskrnl/includes/ps/psmgr.hh
Normal file
@@ -0,0 +1,30 @@
|
||||
/**
|
||||
* PROJECT: ExectOS
|
||||
* COPYRIGHT: See COPYING.md in the top level directory
|
||||
* FILE: xtoskrnl/includes/ps/process.hh
|
||||
* DESCRIPTION: Process Management
|
||||
* DEVELOPERS: Aiken Harris <harraiken91@gmail.com>
|
||||
*/
|
||||
|
||||
#ifndef __XTOSKRNL_PS_PSMGR_HH
|
||||
#define __XTOSKRNL_PS_PSMGR_HH
|
||||
|
||||
#include <xtos.hh>
|
||||
|
||||
|
||||
/* Process and thread management */
|
||||
namespace PS
|
||||
{
|
||||
class ProcessManager
|
||||
{
|
||||
private:
|
||||
STATIC POBJECT_TYPE ProcessType;
|
||||
STATIC POBJECT_TYPE ThreadType;
|
||||
|
||||
public:
|
||||
STATIC XTFASTCALL POBJECT_TYPE GetProcessType(VOID);
|
||||
STATIC XTFASTCALL POBJECT_TYPE GetThreadType(VOID);
|
||||
};
|
||||
}
|
||||
|
||||
#endif /* __XTOSKRNL_PS_PSMGR_HH */
|
||||
Reference in New Issue
Block a user