Kernel/include/kconfig.hpp
2023-03-13 23:59:55 +02:00

23 lines
477 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;
};
KernelConfig ParseConfig(char *Config);
#endif // !__FENNIX_KERNEL_KERNEL_CONFIG_H__