Software APIs
rom_ctrl_regs.h
Go to the documentation of this file.
1/**
2 * @file
3 * @brief Generated register defines for rom_ctrl
4 */
5
6// Copyright information found in source file:
7// Copyright lowRISC contributors (OpenTitan project).
8
9// Licensing information found in source file:
10// Licensed under the Apache License, Version 2.0, see LICENSE for details.
11// SPDX-License-Identifier: Apache-2.0
12
13#ifndef _ROM_CTRL_REG_DEFS_
14#define _ROM_CTRL_REG_DEFS_
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19// Number of alerts
20#define ROM_CTRL_PARAM_NUM_ALERTS 1
21
22// Register width
23#define ROM_CTRL_PARAM_REG_WIDTH 32
24
25// Alert Test Register
26#define ROM_CTRL_ALERT_TEST_REG_OFFSET 0x0
27#define ROM_CTRL_ALERT_TEST_REG_RESVAL 0x0u
28#define ROM_CTRL_ALERT_TEST_FATAL_BIT 0
29
30// The cause of a fatal alert.
31#define ROM_CTRL_FATAL_ALERT_CAUSE_REG_OFFSET 0x4
32#define ROM_CTRL_FATAL_ALERT_CAUSE_REG_RESVAL 0x0u
33#define ROM_CTRL_FATAL_ALERT_CAUSE_CHECKER_ERROR_BIT 0
34#define ROM_CTRL_FATAL_ALERT_CAUSE_INTEGRITY_ERROR_BIT 1
35
36// The digest computed from the contents of ROM (common parameters)
37#define ROM_CTRL_DIGEST_DIGEST_FIELD_WIDTH 32
38#define ROM_CTRL_DIGEST_MULTIREG_COUNT 8
39
40// The digest computed from the contents of ROM
41#define ROM_CTRL_DIGEST_0_REG_OFFSET 0x8
42#define ROM_CTRL_DIGEST_0_REG_RESVAL 0x0u
43
44// The digest computed from the contents of ROM
45#define ROM_CTRL_DIGEST_1_REG_OFFSET 0xc
46#define ROM_CTRL_DIGEST_1_REG_RESVAL 0x0u
47
48// The digest computed from the contents of ROM
49#define ROM_CTRL_DIGEST_2_REG_OFFSET 0x10
50#define ROM_CTRL_DIGEST_2_REG_RESVAL 0x0u
51
52// The digest computed from the contents of ROM
53#define ROM_CTRL_DIGEST_3_REG_OFFSET 0x14
54#define ROM_CTRL_DIGEST_3_REG_RESVAL 0x0u
55
56// The digest computed from the contents of ROM
57#define ROM_CTRL_DIGEST_4_REG_OFFSET 0x18
58#define ROM_CTRL_DIGEST_4_REG_RESVAL 0x0u
59
60// The digest computed from the contents of ROM
61#define ROM_CTRL_DIGEST_5_REG_OFFSET 0x1c
62#define ROM_CTRL_DIGEST_5_REG_RESVAL 0x0u
63
64// The digest computed from the contents of ROM
65#define ROM_CTRL_DIGEST_6_REG_OFFSET 0x20
66#define ROM_CTRL_DIGEST_6_REG_RESVAL 0x0u
67
68// The digest computed from the contents of ROM
69#define ROM_CTRL_DIGEST_7_REG_OFFSET 0x24
70#define ROM_CTRL_DIGEST_7_REG_RESVAL 0x0u
71
72// The expected digest, stored in the top words of ROM (common parameters)
73#define ROM_CTRL_EXP_DIGEST_DIGEST_FIELD_WIDTH 32
74#define ROM_CTRL_EXP_DIGEST_MULTIREG_COUNT 8
75
76// The expected digest, stored in the top words of ROM
77#define ROM_CTRL_EXP_DIGEST_0_REG_OFFSET 0x28
78#define ROM_CTRL_EXP_DIGEST_0_REG_RESVAL 0x0u
79
80// The expected digest, stored in the top words of ROM
81#define ROM_CTRL_EXP_DIGEST_1_REG_OFFSET 0x2c
82#define ROM_CTRL_EXP_DIGEST_1_REG_RESVAL 0x0u
83
84// The expected digest, stored in the top words of ROM
85#define ROM_CTRL_EXP_DIGEST_2_REG_OFFSET 0x30
86#define ROM_CTRL_EXP_DIGEST_2_REG_RESVAL 0x0u
87
88// The expected digest, stored in the top words of ROM
89#define ROM_CTRL_EXP_DIGEST_3_REG_OFFSET 0x34
90#define ROM_CTRL_EXP_DIGEST_3_REG_RESVAL 0x0u
91
92// The expected digest, stored in the top words of ROM
93#define ROM_CTRL_EXP_DIGEST_4_REG_OFFSET 0x38
94#define ROM_CTRL_EXP_DIGEST_4_REG_RESVAL 0x0u
95
96// The expected digest, stored in the top words of ROM
97#define ROM_CTRL_EXP_DIGEST_5_REG_OFFSET 0x3c
98#define ROM_CTRL_EXP_DIGEST_5_REG_RESVAL 0x0u
99
100// The expected digest, stored in the top words of ROM
101#define ROM_CTRL_EXP_DIGEST_6_REG_OFFSET 0x40
102#define ROM_CTRL_EXP_DIGEST_6_REG_RESVAL 0x0u
103
104// The expected digest, stored in the top words of ROM
105#define ROM_CTRL_EXP_DIGEST_7_REG_OFFSET 0x44
106#define ROM_CTRL_EXP_DIGEST_7_REG_RESVAL 0x0u
107
108#ifdef __cplusplus
109} // extern "C"
110#endif
111#endif // _ROM_CTRL_REG_DEFS_
112// End generated register defines for rom_ctrl