Software APIs
rom_e2e_shutdown_exception_c_test.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/manifest_def.h"
6 
8 
9 // Note: Since this test program is written to verify the behavior of the ROM C
10 // exception handlers,
11 // - it does not have a `.crt` section,
12 // - its entrypoint `_rom_ext_start_boot()` is defined here and it doesn't have
13 // a `rom_ext_main()` function, and
14 // - it has only the following sections:
15 // - `.manifest`, to be able to boot this program from ROM,
16 // - `.text`, only 2 instructions to trigger an instruction access fault, and
17 // - `.static_critical`, required by the linker script.
18 
19 void _ottf_start(void) {
21 }