forked from xt-sys/exectos
Switch kernel stack and move boot structures initialization into separate routine
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
#ifndef __XTOSKRNL_GLOBALS_H
|
||||
#define __XTOSKRNL_GLOBALS_H
|
||||
|
||||
#include <xtkmapi.h>
|
||||
#include <xtos.h>
|
||||
|
||||
|
||||
/* Kernel initialization block passed by boot loader */
|
||||
|
27
xtoskrnl/includes/kepfuncs.h
Normal file
27
xtoskrnl/includes/kepfuncs.h
Normal file
@@ -0,0 +1,27 @@
|
||||
/**
|
||||
* PROJECT: ExectOS
|
||||
* COPYRIGHT: See COPYING.md in the top level directory
|
||||
* FILE: xtoskrnl/includes/kefuncs.h
|
||||
* DESCRIPTION: Private routine definitions for kernel services
|
||||
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
|
||||
*/
|
||||
|
||||
#ifndef __XTOSKRNL_KEFUNCS_H
|
||||
#define __XTOSKRNL_KEFUNCS_H
|
||||
|
||||
#include <xtos.h>
|
||||
|
||||
|
||||
XTAPI
|
||||
VOID
|
||||
KepStartKernel(VOID);
|
||||
|
||||
XTAPI
|
||||
VOID
|
||||
KepInitializeBootStructures(IN PKERNEL_INITIALIZATION_BLOCK Parameters);
|
||||
|
||||
XTAPI
|
||||
VOID
|
||||
KepSwitchBootStack(IN ULONG_PTR Stack);
|
||||
|
||||
#endif /* __XTOSKRNL_KEFUNCS_H */
|
@@ -11,3 +11,4 @@
|
||||
|
||||
/* Kernel specific headers */
|
||||
#include "globals.h"
|
||||
#include "kepfuncs.h"
|
||||
|
Reference in New Issue
Block a user