2023-11-19 23:51:33 +00:00
|
|
|
/*
|
|
|
|
* 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
|
|
|
|
2023-11-23 20:20:51 +00:00
|
|
|
VOID
|
|
|
|
HalpSetupProcessorsTable(
|
|
|
|
_In_ UINT32 NTProcessorNumber)
|
|
|
|
{
|
|
|
|
NOTHING;
|
|
|
|
}
|
|
|
|
|
2024-02-24 10:05:12 +00:00
|
|
|
VOID
|
|
|
|
FASTCALL
|
|
|
|
HalpBroadcastClockIpi(
|
|
|
|
_In_ UCHAR Vector)
|
|
|
|
{
|
|
|
|
NOTHING;
|
|
|
|
}
|
|
|
|
|
2023-11-26 15:32:27 +00:00
|
|
|
#ifdef _M_AMD64
|
|
|
|
|
|
|
|
VOID
|
|
|
|
NTAPI
|
|
|
|
HalSendNMI(
|
|
|
|
_In_ KAFFINITY TargetSet)
|
|
|
|
{
|
2023-11-30 12:08:12 +00:00
|
|
|
NOTHING;
|
2023-11-26 15:32:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
VOID
|
|
|
|
NTAPI
|
|
|
|
HalSendSoftwareInterrupt(
|
|
|
|
_In_ KAFFINITY TargetSet,
|
|
|
|
_In_ KIRQL Irql)
|
|
|
|
{
|
2023-11-30 12:08:12 +00:00
|
|
|
NOTHING;
|
2023-11-26 15:32:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif // _M_AMD64
|