Extract Dispatcher class from KThread
All checks were successful
All checks were successful
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include <ke/apc.hh>
|
||||
#include <ke/bootinfo.hh>
|
||||
#include <ke/crash.hh>
|
||||
#include <ke/dispatch.hh>
|
||||
#include <ke/dpc.hh>
|
||||
#include <ke/event.hh>
|
||||
#include <ke/guard.hh>
|
||||
|
||||
25
xtoskrnl/includes/ke/dispatch.hh
Normal file
25
xtoskrnl/includes/ke/dispatch.hh
Normal file
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* PROJECT: ExectOS
|
||||
* COPYRIGHT: See COPYING.md in the top level directory
|
||||
* FILE: xtoskrnl/includes/ke/dispatch.hh
|
||||
* DESCRIPTION: Kernel Thread Dispatcher
|
||||
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
|
||||
*/
|
||||
|
||||
#ifndef __XTOSKRNL_KE_DISPATCH_HH
|
||||
#define __XTOSKRNL_KE_DISPATCH_HH
|
||||
|
||||
#include <xtos.hh>
|
||||
|
||||
|
||||
/* Kernel Library */
|
||||
namespace KE
|
||||
{
|
||||
class Dispatcher
|
||||
{
|
||||
public:
|
||||
STATIC XTFASTCALL VOID ExitDispatcher(IN KRUNLEVEL OldRunLevel);
|
||||
};
|
||||
}
|
||||
|
||||
#endif /* __XTOSKRNL_KE_DISPATCH_HH */
|
||||
@@ -21,7 +21,6 @@ namespace KE
|
||||
STATIC ETHREAD InitialThread;
|
||||
|
||||
public:
|
||||
STATIC XTFASTCALL VOID ExitDispatcher(IN KRUNLEVEL OldRunLevel);
|
||||
STATIC XTAPI PETHREAD GetInitialThread(VOID);
|
||||
STATIC XTAPI XTSTATUS InitializeThread(IN PKPROCESS Process,
|
||||
IN OUT PKTHREAD Thread,
|
||||
|
||||
Reference in New Issue
Block a user