Software APIs
sw
device
silicon_creator
lib
base
static_critical_sec_mmio.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/lib/base/macros.h
"
6
#include "
sw/device/silicon_creator/lib/base/sec_mmio.h
"
7
8
// Secure MMIO context.
9
//
10
// This is placed at a fixed location in memory within the .static_critical
11
// section. It will be populated by the ROM before the jump to ROM_EXT.
12
OT_SET_BSS_SECTION
(
".static_critical.sec_mmio_ctx"
,
13
OT_USED
sec_mmio_ctx_t
sec_mmio_ctx
;)
Return to
OpenTitan Documentation