summaryrefslogtreecommitdiff
path: root/i386/i386at/model_dep.h
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-29 22:53:53 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-05 06:22:45 +0900
commite2f055b0224da1ee74398ff77e49e12e398e7afa (patch)
tree351dd47aac289fb1e4204024943b333255c835cc /i386/i386at/model_dep.h
parentcd76b756ea59e4f2e367c6d943932fa7d18b4681 (diff)
i386/i386at: remove forward declarations
* Makefrag.am: Include kern/startup.h. * i386/i386at/model_dep.c: Include kern/startup.h. Include i386at/model_dep.h. (setup_main, halt_all_cpus, halt_cpu, inittodr): Remove forward declarations. * i386/i386at/model_dep.h (halt_all_cpus, halt_cpu, inittodr): Add prototypes. * kern/startup.h: New file. Add copyright. [_KERN_STARTUP_H_]: Add ifndef. (setup_main): Add prototype.
Diffstat (limited to 'i386/i386at/model_dep.h')
-rw-r--r--i386/i386at/model_dep.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/i386/i386at/model_dep.h b/i386/i386at/model_dep.h
index 3a5749f..11c6451 100644
--- a/i386/i386at/model_dep.h
+++ b/i386/i386at/model_dep.h
@@ -23,4 +23,9 @@
extern int timemmap(int dev, int off, vm_prot_t prot);
+void halt_all_cpus(boolean_t reboot) __attribute__ ((noreturn));
+void halt_cpu(void) __attribute__ ((noreturn));
+
+void inittodr(void);
+
#endif /* _MODEL_DEP_H_ */