Added better kernel arguments reading

This commit is contained in:
Alex
2022-10-20 01:07:39 +03:00
parent 8673a73ee4
commit ea61229b18
5 changed files with 356 additions and 9 deletions

16
include/kconfig.hpp Normal file
View File

@ -0,0 +1,16 @@
#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;
int Cores;
};
KernelConfig ParseConfig(char *Config);
#endif // !__FENNIX_KERNEL_KERNEL_CONFIG_H__