ReactOS 0.4.16-dev-122-g325d74c
up.c
Go to the documentation of this file.
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
20 _In_ KAFFINITY TargetProcessors)
21{
22 /* This should never be called in UP mode */
24}
25
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
38 _In_ UINT32 NTProcessorNumber)
39{
40 NOTHING;
41}
42
43VOID
47{
48 NOTHING;
49}
50
51#ifdef _M_AMD64
52
53VOID
55HalSendNMI(
56 _In_ KAFFINITY TargetSet)
57{
58 NOTHING;
59}
60
61VOID
63HalSendSoftwareInterrupt(
64 _In_ KAFFINITY TargetSet,
66{
67 NOTHING;
68}
69
70#endif // _M_AMD64
unsigned char BOOLEAN
unsigned int UINT32
_Out_ PKIRQL Irql
Definition: csq.h:179
#define FALSE
Definition: types.h:117
ULONG_PTR KAFFINITY
Definition: compat.h:85
UCHAR KIRQL
Definition: env_spec_w32.h:591
#define NOTHING
Definition: input_list.c:10
void __cdecl __debugbreak(void)
Definition: intrin_ppc.h:698
#define _In_
Definition: ms_sal.h:308
#define FASTCALL
Definition: nt_native.h:50
#define NTAPI
Definition: typedefs.h:36
VOID FASTCALL HalpBroadcastClockIpi(_In_ UCHAR Vector)
Definition: up.c:45
BOOLEAN NTAPI HalStartNextProcessor(_In_ PLOADER_PARAMETER_BLOCK LoaderBlock, _In_ PKPROCESSOR_STATE ProcessorState)
Definition: up.c:28
VOID HalpSetupProcessorsTable(_In_ UINT32 NTProcessorNumber)
Definition: up.c:37
VOID NTAPI HalRequestIpi(_In_ KAFFINITY TargetProcessors)
Definition: up.c:19
unsigned char UCHAR
Definition: xmlstorage.h:181