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 17 VOID 18 NTAPI 19 HalRequestIpi( 20 _In_ KAFFINITY TargetProcessors) 21 { 22 /* This should never be called in UP mode */ 23 __debugbreak(); 24 } 25 26 BOOLEAN 27 NTAPI 28 HalStartNextProcessor( 29 _In_ PLOADER_PARAMETER_BLOCK LoaderBlock, 30 _In_ PKPROCESSOR_STATE ProcessorState) 31 { 32 /* Always return false on UP systems */ 33 return FALSE; 34 } 35 36 VOID 37 HalpSetupProcessorsTable( 38 _In_ UINT32 NTProcessorNumber) 39 { 40 NOTHING; 41 } 42 43 VOID 44 FASTCALL 45 HalpBroadcastClockIpi( 46 _In_ UCHAR Vector) 47 { 48 NOTHING; 49 } 50 51 #ifdef _M_AMD64 52 53 VOID 54 NTAPI 55 HalSendNMI( 56 _In_ KAFFINITY TargetSet) 57 { 58 NOTHING; 59 } 60 61 VOID 62 NTAPI 63 HalSendSoftwareInterrupt( 64 _In_ KAFFINITY TargetSet, 65 _In_ KIRQL Irql) 66 { 67 NOTHING; 68 } 69 70 #endif // _M_AMD64 71