mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 15:34:33 +00:00
Fix uninitialized variables
This commit is contained in:
parent
69aeb5c36a
commit
65d1b9f58b
@ -89,7 +89,7 @@ namespace Interrupts
|
|||||||
*
|
*
|
||||||
* This will make sure that the event will not be
|
* This will make sure that the event will not be
|
||||||
* removed by the kernel.
|
* removed by the kernel.
|
||||||
*
|
*
|
||||||
* This is used to prevent the kernel from removing
|
* This is used to prevent the kernel from removing
|
||||||
* ACPI related handlers. (SCI interrupts)
|
* ACPI related handlers. (SCI interrupts)
|
||||||
*/
|
*/
|
||||||
@ -108,8 +108,8 @@ namespace Interrupts
|
|||||||
constexpr uint32_t SORT_ITR = (SORT_START * 100) / SORT_DIVIDER;
|
constexpr uint32_t SORT_ITR = (SORT_START * 100) / SORT_DIVIDER;
|
||||||
|
|
||||||
#if defined(a86)
|
#if defined(a86)
|
||||||
/* APIC::APIC */ void *apic[MAX_CPU];
|
/* APIC::APIC */ void *apic[MAX_CPU] = {nullptr};
|
||||||
/* APIC::Timer */ void *apicTimer[MAX_CPU];
|
/* APIC::Timer */ void *apicTimer[MAX_CPU] = {nullptr};
|
||||||
#elif defined(aa64)
|
#elif defined(aa64)
|
||||||
#endif
|
#endif
|
||||||
void *InterruptFrames[INT_FRAMES_MAX];
|
void *InterruptFrames[INT_FRAMES_MAX];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user