Software APIs
sw
device
silicon_creator
lib
base
static_critical_version.c
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
#include "sw/device/silicon_creator/lib/base/static_critical_version.h"
6
7
#include "
sw/device/lib/base/macros.h
"
8
9
/**
10
* Static critical region format version.
11
*
12
* This value is placed at the start of RAM so that later boot stages have a
13
* fixed place to look for this value for backward compatibility. It will be
14
* populated by the ROM before the jump to ROM_EXT.
15
*/
16
OT_SET_BSS_SECTION
(
".static_critical.version"
,
17
OT_USED
uint32_t static_critical_version;)
Return to
OpenTitan Documentation