Kernel/include/kconfig.hpp
2023-03-25 12:02:59 +02:00

24 lines
524 B
C++

#ifndef __FENNIX_KERNEL_KERNEL_CONFIG_H__
#define __FENNIX_KERNEL_KERNEL_CONFIG_H__
#include <types.h>
#include <memory.hpp>
struct KernelConfig
{
Memory::MemoryAllocatorType AllocatorType;
bool SchedulerType;
char DriverDirectory[256];
char InitPath[256];
bool InterruptsOnCrash;
int Cores;
int IOAPICInterruptCore;
bool UnlockDeadLock;
bool SIMD;
bool BootAnimation;
};
void ParseConfig(char *ConfigString, KernelConfig *ModConfig);
#endif // !__FENNIX_KERNEL_KERNEL_CONFIG_H__