forked from xt-sys/exectos
Migrate KE subsystem to C++
This commit is contained in:
38
xtoskrnl/includes/ke/bootinfo.hh
Normal file
38
xtoskrnl/includes/ke/bootinfo.hh
Normal file
@@ -0,0 +1,38 @@
|
||||
/**
|
||||
* PROJECT: ExectOS
|
||||
* COPYRIGHT: See COPYING.md in the top level directory
|
||||
* FILE: xtoskrnl/includes/ke/bootinfo.hh
|
||||
* DESCRIPTION: Bootloader-provided system information handling support
|
||||
* DEVELOPERS: Aiken Harris <harraiken91@gmail.com>
|
||||
*/
|
||||
|
||||
#ifndef __XTOSKRNL_KE_BOOTINFO_HH
|
||||
#define __XTOSKRNL_KE_BOOTINFO_HH
|
||||
|
||||
#include <xtos.hh>
|
||||
|
||||
|
||||
/* Kernel Library */
|
||||
namespace KE
|
||||
{
|
||||
class BootInformation
|
||||
{
|
||||
private:
|
||||
STATIC PKERNEL_INITIALIZATION_BLOCK InitializationBlock;
|
||||
|
||||
public:
|
||||
STATIC XTAPI PVOID GetDebugPrint(VOID);
|
||||
STATIC XTAPI SYSTEM_FIRMWARE_TYPE GetFirmwareType(VOID);
|
||||
STATIC XTAPI XTSTATUS GetKernelParameter(IN PCWSTR ParameterName,
|
||||
OUT PCWSTR *Parameter);
|
||||
STATIC XTAPI PLIST_ENTRY GetSystemResources(VOID);
|
||||
STATIC XTAPI VOID SetInitializationBlock(IN PKERNEL_INITIALIZATION_BLOCK Block);
|
||||
|
||||
STATIC XTAPI PKERNEL_INITIALIZATION_BLOCK GetInitializationBlock(VOID)
|
||||
{
|
||||
return InitializationBlock;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
#endif /* __XTOSKRNL_KE_BOOTINFO_HH */
|
Reference in New Issue
Block a user