Software APIs
rom.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_ROM_ROM_H_
6 #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_ROM_ROM_H_
7 
8 #include <stdnoreturn.h>
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif // __cplusplus
13 
14 /**
15  * The first C function executed by the ROM (defined in `rom.c`)
16  */
17 noreturn void rom_main(void);
18 
19 #ifdef __cplusplus
20 } // extern "C"
21 #endif // __cplusplus
22 
23 #endif // OPENTITAN_SW_DEVICE_SILICON_CREATOR_ROM_ROM_H_