Software APIs
static_critical_version.h
1 // Copyright lowRISC contributors (OpenTitan project).
2 // Licensed under the Apache License, Version 2.0, see LICENSE for details.
3 // SPDX-License-Identifier: Apache-2.0
4 
5 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_BASE_STATIC_CRITICAL_VERSION_H_
6 #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_BASE_STATIC_CRITICAL_VERSION_H_
7 
8 #include <stdint.h>
9 
10 enum {
11  /**
12  * Static critical region format version 1 value.
13  */
14  kStaticCriticalVersion1 = 0xb86fa4b0,
15  /**
16  * Static critical region format version 2 value.
17  */
18  kStaticCriticalVersion2 = 0x8d9fc439,
19 };
20 
21 /**
22  * Extern declaration for the static_critical region format version placed at
23  * the start of RAM.
24  */
25 extern uint32_t static_critical_version;
26 
27 #endif // OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_BASE_STATIC_CRITICAL_VERSION_H_