1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 3 * linux/arch/unicore32/kernel/setup.h 4 * 5 * Code specific to PKUnity SoC and UniCore ISA 6 * 7 * Copyright (C) 2001-2010 GUAN Xue-tao 8 */ 9 #ifndef __UNICORE_KERNEL_SETUP_H__ 10 #define __UNICORE_KERNEL_SETUP_H__ 11 12 #include <asm/hwdef-copro.h> 13 14 extern void paging_init(void); 15 extern void puv3_core_init(void); 16 extern void cpu_init(void); 17 18 extern void puv3_ps2_init(void); 19 extern void pci_puv3_preinit(void); 20 extern void __init puv3_init_gpio(void); 21 22 extern void setup_mm_for_reboot(void); 23 24 extern char __stubs_start[], __stubs_end[]; 25 extern char __vectors_start[], __vectors_end[]; 26 27 extern void kernel_thread_helper(void); 28 29 extern void __init early_signal_init(void); 30 31 extern asmlinkage void __backtrace(void); 32 extern asmlinkage void c_backtrace(unsigned long fp, int pmode); 33 34 extern void __show_regs(struct pt_regs *); 35 36 #endif 37