Lifecycle management of threads #29

Merged
harraiken merged 240 commits from threads into master 2026-09-07 13:45:09 +02:00
4 changed files with 52 additions and 0 deletions
Showing only changes of commit 97703c7932 - Show all commits

View File

@@ -59,6 +59,7 @@ list(APPEND XTOSKRNL_SOURCE
${XTOSKRNL_SOURCE_DIR}/ke/shdata.cc ${XTOSKRNL_SOURCE_DIR}/ke/shdata.cc
${XTOSKRNL_SOURCE_DIR}/ke/spinlock.cc ${XTOSKRNL_SOURCE_DIR}/ke/spinlock.cc
${XTOSKRNL_SOURCE_DIR}/ke/sysres.cc ${XTOSKRNL_SOURCE_DIR}/ke/sysres.cc
${XTOSKRNL_SOURCE_DIR}/ke/sysserv.cc
${XTOSKRNL_SOURCE_DIR}/ke/systime.cc ${XTOSKRNL_SOURCE_DIR}/ke/systime.cc
${XTOSKRNL_SOURCE_DIR}/ke/timer.cc ${XTOSKRNL_SOURCE_DIR}/ke/timer.cc
${XTOSKRNL_SOURCE_DIR}/mm/${ARCH}/mmgr.cc ${XTOSKRNL_SOURCE_DIR}/mm/${ARCH}/mmgr.cc

View File

@@ -30,6 +30,7 @@
#include <ke/shdata.hh> #include <ke/shdata.hh>
#include <ke/spinlock.hh> #include <ke/spinlock.hh>
#include <ke/sysres.hh> #include <ke/sysres.hh>
#include <ke/sysserv.hh>
#include <ke/systime.hh> #include <ke/systime.hh>
#include <ke/timer.hh> #include <ke/timer.hh>

View File

@@ -0,0 +1,25 @@
/**
* PROJECT: ExectOS
* COPYRIGHT: See COPYING.md in the top level directory
* FILE: xtoskrnl/includes/ke/sysserv.hh
* DESCRIPTION: System Services Descriptor Table
* DEVELOPERS: Aiken Harris <harraiken91@gmail.com>
*/
#ifndef __XTOSKRNL_KE_SYSSERV_HH
#define __XTOSKRNL_KE_SYSSERV_HH
#include <xtos.hh>
/* Kernel Library */
namespace KE
{
class SystemServices
{
public:
STATIC XTAPI PKSERVICE_DESCRIPTOR_TABLE GetSystemServicesDescriptorTable(VOID);
};
}
#endif /* __XTOSKRNL_KE_SYSSERV_HH */

25
xtoskrnl/ke/sysserv.cc Normal file
View File

@@ -0,0 +1,25 @@
/**
* PROJECT: ExectOS
* COPYRIGHT: See COPYING.md in the top level directory
* FILE: xtoskrnl/ke/sysserv.cc
* DESCRIPTION: System Services Descriptor Table
* DEVELOPERS: Aiken Harris <harraiken91@gmail.com>
*/
#include <xtos.hh>
/**
* Retrieves a pointer to the System Services Descriptor Table.
*
* @return This routine returns a pointer to the system services descriptor table.
*
* @since XT 1.0
*/
XTAPI
PKSERVICE_DESCRIPTOR_TABLE
KE::SystemServices::GetSystemServicesDescriptorTable(VOID)
{
/* Return NULLPTR as the system services table is not yet implemented */
return NULLPTR;
}