mirror of
https://github.com/reactos/reactos.git
synced 2024-09-15 07:05:04 +00:00
3306a16e84
First step to fixing the multiprocessor kernel when booting on a single core.
21 lines
600 B
C
21 lines
600 B
C
/*
|
|
* PROJECT: ReactOS Hardware Abstraction Layer
|
|
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
|
|
* PURPOSE: Defines differences for either UP or SMP
|
|
* COPYRIGHT: Copyright 2021 Timo Kreuzer <timo.kreuzer@reactos.org>
|
|
*/
|
|
|
|
/* INCLUDES *****************************************************************/
|
|
|
|
#include <hal.h>
|
|
|
|
/* GLOBALS ******************************************************************/
|
|
|
|
const USHORT HalpBuildType = HAL_BUILD_TYPE;
|
|
|
|
#ifdef CONFIG_SMP
|
|
KIRQL HalpIrqlSynchLevel = IPI_LEVEL - 2;
|
|
#else
|
|
KIRQL HalpIrqlSynchLevel = DISPATCH_LEVEL;
|
|
#endif
|