mirror of
https://github.com/reactos/reactos.git
synced 2024-09-07 03:11:07 +00:00
56 lines
1 KiB
C
56 lines
1 KiB
C
/*
|
|
* 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;
|
|
}
|
|
|
|
#ifdef _M_AMD64
|
|
|
|
VOID
|
|
NTAPI
|
|
HalSendNMI(
|
|
_In_ KAFFINITY TargetSet)
|
|
{
|
|
NOTHING;
|
|
}
|
|
|
|
VOID
|
|
NTAPI
|
|
HalSendSoftwareInterrupt(
|
|
_In_ KAFFINITY TargetSet,
|
|
_In_ KIRQL Irql)
|
|
{
|
|
NOTHING;
|
|
}
|
|
|
|
#endif // _M_AMD64
|