Updated tasking

This commit is contained in:
Alex
2022-10-22 04:56:57 +03:00
parent 11e6080fe1
commit 4f94d4cc6d
8 changed files with 335 additions and 127 deletions

View File

@ -3,15 +3,14 @@
#include <types.h>
#include <cpu.hpp>
#include <smp.hpp>
namespace Interrupts
{
#if defined(__amd64__)
/* APIC::APIC */ extern void *apic[MAX_CPU];
/* APIC::Timer */ extern void *apicTimer[MAX_CPU];
/* APIC::APIC */ extern void *apic[256]; // MAX_CPU
/* APIC::Timer */ extern void *apicTimer[256]; // MAX_CPU
#elif defined(__i386__)
extern void *apic[MAX_CPU];
extern void *apic[256]; // MAX_CPU
#elif defined(__aarch64__)
#endif
void Initialize(int Core);