From 96a19d23b3544436087486e8d791f5797d31ca8a Mon Sep 17 00:00:00 2001 From: Rafal Kupiec Date: Sun, 26 Nov 2023 00:38:20 +0100 Subject: [PATCH] Fix i686 build by setting APIC transformation tables static --- xtoskrnl/hl/i686/runlevel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xtoskrnl/hl/i686/runlevel.c b/xtoskrnl/hl/i686/runlevel.c index b4fad23..1d56dff 100644 --- a/xtoskrnl/hl/i686/runlevel.c +++ b/xtoskrnl/hl/i686/runlevel.c @@ -54,7 +54,7 @@ XTFASTCALL KRUNLEVEL HlpTransformApicTprToRunLevel(IN UCHAR Tpr) { - KRUNLEVEL TransformationTable[16] = + STATIC KRUNLEVEL TransformationTable[16] = { PASSIVE_LEVEL, PASSIVE_LEVEL, @@ -92,7 +92,7 @@ XTFASTCALL UCHAR HlpTransformRunLevelToApicTpr(IN KRUNLEVEL RunLevel) { - UCHAR TransformationTable[32] = + STATIC UCHAR TransformationTable[32] = { APIC_VECTOR_ZERO, APIC_VECTOR_APC,