Files
exectos/xtoskrnl/ps/psmgr.cc
Aiken Harris b98d94b4f3
All checks were successful
Builds / ExectOS (amd64, release) (push) Successful in 32s
Builds / ExectOS (amd64, debug) (push) Successful in 34s
Builds / ExectOS (i686, debug) (push) Successful in 41s
Builds / ExectOS (i686, release) (push) Successful in 40s
Implement process and thread object type getters
2026-07-09 20:33:57 +02:00

41 lines
898 B
C++

/**
* PROJECT: ExectOS
* COPYRIGHT: See COPYING.md in the top level directory
* FILE: xtoskrnl/po/psmgr.cc
* DESCRIPTION: Process Manager
* DEVELOPERS: Aiken Harris <harraiken91@gmail.com>
*/
#include <xtos.hh>
/**
* Retrieves the global object type descriptor for Process objects.
*
* @return This routine returns a pointer to the process object type structure.
*
* @since XT 1.0
*/
XTFASTCALL
POBJECT_TYPE
PS::ProcessManager::GetProcessType(VOID)
{
/* Return the process object type descriptor */
return ProcessType;
}
/**
* Retrieves the global object type descriptor for Thread objects.
*
* @return This routine returns a pointer to the thread object type structure.
*
* @since XT 1.0
*/
XTFASTCALL
POBJECT_TYPE
PS::ProcessManager::GetThreadType(VOID)
{
/* Return the thread object type descriptor */
return ThreadType;
}