ReactOS
0.4.16-dev-109-gf4cb10f
KernelType.c
Go to the documentation of this file.
1
/*
2
* PROJECT: ReactOS kernel-mode tests
3
* LICENSE: LGPL-2.1+ (https://spdx.org/licenses/LGPL-2.1+)
4
* PURPOSE: Kernel-Mode Test Suite Kernel Type example test
5
* COPYRIGHT: Copyright 2011-2018 Thomas Faber <thomas.faber@reactos.org>
6
*/
7
8
#include <
kmt_test.h
>
9
10
START_TEST
(KernelType)
11
{
12
if
(
KmtIsMultiProcessorBuild
)
13
trace
(
"This is a MultiProcessor kernel\n"
);
14
else
15
trace
(
"This is a Uniprocessor kernel\n"
);
16
if
(
KmtIsCheckedBuild
)
17
trace
(
"This is a Checked kernel\n"
);
18
else
19
trace
(
"This is a Free kernel\n"
);
20
}
trace
#define trace
Definition:
atltest.h:70
START_TEST
#define START_TEST(x)
Definition:
atltest.h:75
kmt_test.h
KmtIsCheckedBuild
BOOLEAN KmtIsCheckedBuild
Definition:
kmt_test_kernel.h:15
KmtIsMultiProcessorBuild
BOOLEAN KmtIsMultiProcessorBuild
Definition:
kmt_test_kernel.h:16
modules
rostests
kmtests
example
KernelType.c
Generated on Wed Oct 9 2024 06:14:16 for ReactOS by
1.9.6