Add stub for System Service Descriptor Table accessor routine
All checks were successful
Builds / ExectOS (amd64, debug) (push) Successful in 29s
Builds / ExectOS (i686, debug) (push) Successful in 28s
Builds / ExectOS (amd64, release) (push) Successful in 38s
Builds / ExectOS (i686, release) (push) Successful in 37s

This commit is contained in:
2026-06-12 23:16:20 +02:00
parent 2f5902119d
commit 97703c7932
4 changed files with 52 additions and 0 deletions

View File

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

View File

@@ -30,6 +30,7 @@
#include <ke/shdata.hh>
#include <ke/spinlock.hh>
#include <ke/sysres.hh>
#include <ke/sysserv.hh>
#include <ke/systime.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;
}