summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/setup.h
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2017-08-30 08:25:59 +0000
committerYuval Adam <_@yuv.al>2017-08-30 08:25:59 +0000
commit8e4bff4cab0ddac6060645b0715210484d02ff40 (patch)
tree3a5c3024371a04692a3a6d9974d001cdff8ebf84 /arch/mips/include/asm/setup.h
Initial file dump from open source releaseHEADmaster
Diffstat (limited to 'arch/mips/include/asm/setup.h')
-rw-r--r--arch/mips/include/asm/setup.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/mips/include/asm/setup.h b/arch/mips/include/asm/setup.h
new file mode 100644
index 00000000..e26589ef
--- /dev/null
+++ b/arch/mips/include/asm/setup.h
@@ -0,0 +1,19 @@
+#ifndef _MIPS_SETUP_H
+#define _MIPS_SETUP_H
+
+#include <uapi/asm/setup.h>
+
+extern void setup_early_printk(void);
+
+extern void set_handler(unsigned long offset, void *addr, unsigned long len);
+extern void set_uncached_handler(unsigned long offset, void *addr, unsigned long len);
+
+typedef void (*vi_handler_t)(void);
+extern void *set_vi_handler(int n, vi_handler_t addr);
+
+extern void *set_except_vector(int n, void *addr);
+extern unsigned long ebase;
+extern void per_cpu_trap_init(bool);
+extern void cpu_cache_init(void);
+
+#endif /* __SETUP_H */