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