mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
70 lines
1.2 KiB
C
70 lines
1.2 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;
|
|
}
|
|
|
|
VOID
|
|
HalpSetupProcessorsTable(
|
|
_In_ UINT32 NTProcessorNumber)
|
|
{
|
|
NOTHING;
|
|
}
|
|
|
|
VOID
|
|
FASTCALL
|
|
HalpBroadcastClockIpi(
|
|
_In_ UCHAR Vector)
|
|
{
|
|
NOTHING;
|
|
}
|
|
|
|
#ifdef _M_AMD64
|
|
|
|
VOID
|
|
NTAPI
|
|
HalSendNMI(
|
|
_In_ KAFFINITY TargetSet)
|
|
{
|
|
NOTHING;
|
|
}
|
|
|
|
VOID
|
|
NTAPI
|
|
HalSendSoftwareInterrupt(
|
|
_In_ KAFFINITY TargetSet,
|
|
_In_ KIRQL Irql)
|
|
{
|
|
NOTHING;
|
|
}
|
|
|
|
#endif // _M_AMD64
|