1 /*
2  * Copyright (c) 1997-2010, 2012-2014 Wind River Systems, Inc.
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #include <zephyr/types.h>
8 #include "version.h" /* generated by MAKE, at compile time */
9 
10 /**
11  * @brief Return the kernel version of the present build
12  *
13  * The kernel version is a four-byte value, whose format is described in the
14  * file "kernel_version.h".
15  *
16  * @return kernel version
17  */
sys_kernel_version_get(void)18 uint32_t sys_kernel_version_get(void)
19 {
20 	return KERNELVERSION;
21 }
22