2021-06-06 12:19:00 +00:00
|
|
|
/*
|
|
|
|
* PROJECT: ReactOS Hardware Abstraction Layer
|
|
|
|
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
|
2024-01-20 14:26:59 +00:00
|
|
|
* PURPOSE: Defines differences for either UP or SMP
|
2021-06-06 12:19:00 +00:00
|
|
|
* COPYRIGHT: Copyright 2021 Timo Kreuzer <timo.kreuzer@reactos.org>
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* INCLUDES *****************************************************************/
|
|
|
|
|
|
|
|
#include <hal.h>
|
|
|
|
|
|
|
|
/* GLOBALS ******************************************************************/
|
|
|
|
|
|
|
|
const USHORT HalpBuildType = HAL_BUILD_TYPE;
|
2024-01-20 14:26:59 +00:00
|
|
|
|
|
|
|
#ifdef CONFIG_SMP
|
|
|
|
KIRQL HalpIrqlSynchLevel = IPI_LEVEL - 2;
|
|
|
|
#else
|
|
|
|
KIRQL HalpIrqlSynchLevel = DISPATCH_LEVEL;
|
|
|
|
#endif
|