xref: /reactos/hal/halx86/generic/buildtype.c (revision d6eebaa4)
1 /*
2 * PROJECT:     ReactOS Hardware Abstraction Layer
3 * LICENSE:     GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
4 * PURPOSE:     Defines differences for either UP or SMP
5 * COPYRIGHT:   Copyright 2021 Timo Kreuzer <timo.kreuzer@reactos.org>
6 */
7 
8 /* INCLUDES *****************************************************************/
9 
10 #include <hal.h>
11 
12 /* GLOBALS ******************************************************************/
13 
14 const USHORT HalpBuildType = HAL_BUILD_TYPE;
15 
16 #ifdef CONFIG_SMP
17 KIRQL HalpIrqlSynchLevel = IPI_LEVEL - 2;
18 #else
19 KIRQL HalpIrqlSynchLevel = DISPATCH_LEVEL;
20 #endif
21