1 /* SPDX-License-Identifier: GPL-2.0-only */
9 * Ada supports some complex constructs that result in code for runtime
10 * initialization. It's also possible to have explicit procedures for
11 * package level initialization (e.g. you can initialize huge arrays in
12 * a loop instead of cluttering the binary).
14 * When an Ada main() is in charge, GNAT emits the call to the initia-
15 * lizations automatically. When not, we have to call it explicitly.
18 #if CONFIG(ROMSTAGE_ADA)
19 void romstage_adainit(void);
21 static inline void romstage_adainit(void) {}
24 #if CONFIG(RAMSTAGE_ADA)
25 void ramstage_adainit(void);
27 static inline void ramstage_adainit(void) {}
30 #endif /* _ADAINIT_H */