reactos/hal/halx86/generic/up.c

63 lines
1.1 KiB
C
Raw Normal View History

/*
* PROJECT: ReactOS Kernel
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
* PURPOSE: Core source file for Uniprocessor (UP) alternative functions
* COPYRIGHT: Copyright 2021 Justin Miller <justinmiller100@gmail.com>
*/
/* INCLUDES ******************************************************************/
#include <hal.h>
#define NDEBUG
#include <debug.h>
/* FUNCTIONS *****************************************************************/
VOID
NTAPI
HalRequestIpi(
_In_ KAFFINITY TargetProcessors)
{
/* This should never be called in UP mode */
__debugbreak();
}
BOOLEAN
NTAPI
HalStartNextProcessor(
_In_ PLOADER_PARAMETER_BLOCK LoaderBlock,
_In_ PKPROCESSOR_STATE ProcessorState)
{
/* Always return false on UP systems */
return FALSE;
}
2023-11-26 15:32:27 +00:00
VOID
HalpSetupProcessorsTable(
_In_ UINT32 NTProcessorNumber)
{
NOTHING;
}
2023-11-26 15:32:27 +00:00
#ifdef _M_AMD64
VOID
NTAPI
HalSendNMI(
_In_ KAFFINITY TargetSet)
{
NOTHING;
2023-11-26 15:32:27 +00:00
}
VOID
NTAPI
HalSendSoftwareInterrupt(
_In_ KAFFINITY TargetSet,
_In_ KIRQL Irql)
{
NOTHING;
2023-11-26 15:32:27 +00:00
}
#endif // _M_AMD64