summaryrefslogtreecommitdiff
path: root/src/include/cpu/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/cpu/cpu.h')
-rw-r--r--src/include/cpu/cpu.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/cpu/cpu.h b/src/include/cpu/cpu.h
index cca2be1b27..c2113c1aa5 100644
--- a/src/include/cpu/cpu.h
+++ b/src/include/cpu/cpu.h
@@ -1,11 +1,11 @@
#ifndef CPU_CPU_H
#define CPU_CPU_H
-struct device;
-struct bus;
#include <arch/cpu.h>
+#if !defined(__ROMCC__)
void cpu_initialize(void);
+struct bus;
void initialize_cpus(struct bus *cpu_bus);
void secondary_cpu_init(void);
@@ -26,5 +26,6 @@ void smm_setup_structures(void *gnvs, void *tcg, void *smi1);
extern struct cpu_driver cpu_drivers[];
/** end of compile time generated pci driver array */
extern struct cpu_driver ecpu_drivers[];
+#endif /* !__ROMCC__ */
#endif /* CPU_CPU_H */