summaryrefslogtreecommitdiff
path: root/kern
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 /kern
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 'kern')
-rw-r--r--kern/startup.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/kern/startup.h b/kern/startup.h
new file mode 100644
index 0000000..d167fde
--- /dev/null
+++ b/kern/startup.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright (c) 2013 Free Software Foundation.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef _KERN_STARTUP_H_
+#define _KERN_STARTUP_H_
+
+extern void setup_main(void);
+
+#endif /* _KERN_STARTUP_H_ */