Add stub for System Service Descriptor Table accessor routine
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|
||||||
|
|||||||
25
xtoskrnl/includes/ke/sysserv.hh
Normal file
25
xtoskrnl/includes/ke/sysserv.hh
Normal 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
25
xtoskrnl/ke/sysserv.cc
Normal 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;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user