Reactos
1/*
2 * PROJECT: ReactOS Kernel
3 * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
4 * PURPOSE: Core source file for Uniprocessor (UP) alternative functions
5 * COPYRIGHT: Copyright 2021 Justin Miller <justinmiller100@gmail.com>
6 */
7
8/* INCLUDES ******************************************************************/
9
10#include <hal.h>
11
12#define NDEBUG
13#include <debug.h>
14
15/* FUNCTIONS *****************************************************************/
16
17VOID
18NTAPI
19HalRequestIpi(
20 _In_ KAFFINITY TargetProcessors)
21{
22 /* This should never be called in UP mode */
23 __debugbreak();
24}
25
26BOOLEAN
27NTAPI
28HalStartNextProcessor(
29 _In_ PLOADER_PARAMETER_BLOCK LoaderBlock,
30 _In_ PKPROCESSOR_STATE ProcessorState)
31{
32 /* Always return false on UP systems */
33 return FALSE;
34}
35
36VOID
37HalpSetupProcessorsTable(
38 _In_ UINT32 NTProcessorNumber)
39{
40 NOTHING;
41}
42
43VOID
44FASTCALL
45HalpBroadcastClockIpi(
46 _In_ UCHAR Vector)
47{
48 NOTHING;
49}
50
51#ifdef _M_AMD64
52
53VOID
54NTAPI
55HalSendNMI(
56 _In_ KAFFINITY TargetSet)
57{
58 NOTHING;
59}
60
61VOID
62NTAPI
63HalSendSoftwareInterrupt(
64 _In_ KAFFINITY TargetSet,
65 _In_ KIRQL Irql)
66{
67 NOTHING;
68}
69
70#endif // _M_AMD64