Added SMP support

This commit is contained in:
Alex
2022-10-12 03:55:58 +03:00
parent 703de2c284
commit 127476ac64
7 changed files with 159 additions and 8 deletions

View File

@ -3,6 +3,9 @@
#include <types.h>
/** @brief Maximum supported number of CPU cores by the kernel */
#define MAX_CPU 256
#define CPU_DATA_CHECKSUM 0xC0FFEE
struct CPUData
@ -32,4 +35,9 @@ struct CPUData
CPUData *GetCurrentCPU();
CPUData *GetCPU(uint64_t ID);
namespace SMP
{
void Initialize(void *madt);
}
#endif // !__FENNIX_KERNEL_SMP_H__