ReactOS
0.4.15-dev-7924-g5949c20
buildtype.c
Go to the documentation of this file.
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
HalpIrqlSynchLevel
KIRQL HalpIrqlSynchLevel
Definition:
buildtype.c:19
HalpBuildType
const USHORT HalpBuildType
Definition:
buildtype.c:14
IPI_LEVEL
#define IPI_LEVEL
Definition:
env_spec_w32.h:701
KIRQL
UCHAR KIRQL
Definition:
env_spec_w32.h:591
DISPATCH_LEVEL
#define DISPATCH_LEVEL
Definition:
env_spec_w32.h:696
HAL_BUILD_TYPE
#define HAL_BUILD_TYPE
Definition:
halp.h:10
USHORT
unsigned short USHORT
Definition:
pedump.c:61
hal
halx86
generic
buildtype.c
Generated on Fri Apr 19 2024 06:05:58 for ReactOS by
1.9.6