GuanXuetao | 141c943 | 2011-01-15 18:15:45 +0800 | [diff] [blame] | 1 | /* |
| 2 | * linux/arch/unicore32/kernel/setup.h |
| 3 | * |
| 4 | * Code specific to PKUnity SoC and UniCore ISA |
| 5 | * |
| 6 | * Copyright (C) 2001-2010 GUAN Xue-tao |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify |
| 9 | * it under the terms of the GNU General Public License version 2 as |
| 10 | * published by the Free Software Foundation. |
| 11 | */ |
| 12 | #ifndef __UNICORE_KERNEL_SETUP_H__ |
| 13 | #define __UNICORE_KERNEL_SETUP_H__ |
| 14 | |
Guan Xuetao | 8978bfd | 2012-03-28 18:30:03 +0100 | [diff] [blame] | 15 | #include <asm/hwdef-copro.h> |
| 16 | |
GuanXuetao | 141c943 | 2011-01-15 18:15:45 +0800 | [diff] [blame] | 17 | extern void paging_init(void); |
| 18 | extern void puv3_core_init(void); |
Guan Xuetao | 8978bfd | 2012-03-28 18:30:03 +0100 | [diff] [blame] | 19 | extern void cpu_init(void); |
GuanXuetao | 141c943 | 2011-01-15 18:15:45 +0800 | [diff] [blame] | 20 | |
| 21 | extern void puv3_ps2_init(void); |
| 22 | extern void pci_puv3_preinit(void); |
| 23 | extern void __init puv3_init_gpio(void); |
| 24 | |
Robin Holt | c97a700 | 2013-07-08 16:01:36 -0700 | [diff] [blame] | 25 | extern void setup_mm_for_reboot(void); |
GuanXuetao | 141c943 | 2011-01-15 18:15:45 +0800 | [diff] [blame] | 26 | |
| 27 | extern char __stubs_start[], __stubs_end[]; |
| 28 | extern char __vectors_start[], __vectors_end[]; |
| 29 | |
| 30 | extern void kernel_thread_helper(void); |
| 31 | |
| 32 | extern void __init early_signal_init(void); |
Guan Xuetao | 10e1e99 | 2012-06-14 11:38:25 +0800 | [diff] [blame] | 33 | |
| 34 | extern asmlinkage void __backtrace(void); |
| 35 | extern asmlinkage void c_backtrace(unsigned long fp, int pmode); |
| 36 | |
| 37 | extern void __show_regs(struct pt_regs *); |
| 38 | |
GuanXuetao | 141c943 | 2011-01-15 18:15:45 +0800 | [diff] [blame] | 39 | #endif |