#include <hal.h>
#include "apicp.h"
#include <smp.h>
#include <debug.h>
Go to the source code of this file.
◆ NDEBUG
◆ ApicInitializeLocalApic()
Definition at line 291 of file apic.c.
292{
296
297
302
303
309
310
312
313
315
316
318
319
321
322
331
332
340
341
345
346
352
353
357
358
360#ifdef APIC_LAZY_IRQL
361
363#endif
364}
FORCEINLINE VOID ApicSetIrql(KIRQL Irql)
#define APIC_SPURIOUS_VECTOR
#define APIC_ERROR_VECTOR
#define ApicLogicalId(Cpu)
VOID __cdecl ApicSpuriousService(VOID)
FORCEINLINE ULONG ApicRead(APIC_REGISTER Register)
FORCEINLINE VOID ApicWrite(APIC_REGISTER Register, ULONG Value)
PPC_QUAL void __writemsr(const unsigned long Value)
PPC_QUAL unsigned long long __readmsr()
FORCEINLINE VOID KeRegisterInterruptHandler(IN ULONG Vector, IN PVOID Handler)
UINT32 FocusCPUCoreChecking
Referenced by HalpInitProcessor().
◆ HalpInitPhase0()
Definition at line 50 of file halinit.c.
51{
52 DPRINT1(
"Using HAL: APIC %s %s\n",
55
57
58
60 0,
65}
#define APIC_CLOCK_VECTOR
const USHORT HalpBuildType
VOID HalpClockInterrupt(VOID)
VOID NTAPI HalpEnableInterruptHandler(IN UCHAR Flags, IN ULONG BusVector, IN ULONG SystemVector, IN KIRQL Irql, IN PVOID Handler, IN KINTERRUPT_MODE Mode)
VOID HalpPrintApicTables(VOID)
#define PRCB_BUILD_UNIPROCESSOR
◆ HalpInitPhase1()
◆ HalpInitProcessor()
Definition at line 24 of file halinit.c.
27{
28#ifdef CONFIG_SMP
29 if (ProcessorNumber == 0)
30 {
31#endif
33#ifdef CONFIG_SMP
34 }
35
37#endif
38
39
41
42
44
45
46
47}
VOID NTAPI HalInitializeProfiling(VOID)
VOID NTAPI ApicInitializeLocalApic(ULONG Cpu)
VOID HalpParseApicTables(_In_ PLOADER_PARAMETER_BLOCK LoaderBlock)
VOID HalpSetupProcessorsTable(_In_ UINT32 NTProcessorNumber)
Referenced by HalInitializeProcessor().