Commit | Line | Data |
---|---|---|
d2912cb1 | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
141c943f G |
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 | |
141c943f G |
8 | */ |
9 | #ifndef __UNICORE_KERNEL_SETUP_H__ | |
10 | #define __UNICORE_KERNEL_SETUP_H__ | |
11 | ||
8978bfd2 GX |
12 | #include <asm/hwdef-copro.h> |
13 | ||
141c943f G |
14 | extern void paging_init(void); |
15 | extern void puv3_core_init(void); | |
8978bfd2 | 16 | extern void cpu_init(void); |
141c943f G |
17 | |
18 | extern void puv3_ps2_init(void); | |
19 | extern void pci_puv3_preinit(void); | |
20 | extern void __init puv3_init_gpio(void); | |
21 | ||
c97a7008 | 22 | extern void setup_mm_for_reboot(void); |
141c943f G |
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); | |
10e1e99e GX |
30 | |
31 | extern asmlinkage void __backtrace(void); | |
de985dd5 | 32 | extern asmlinkage void c_backtrace(unsigned long fp, const char *loglvl); |
10e1e99e GX |
33 | |
34 | extern void __show_regs(struct pt_regs *); | |
35 | ||
141c943f | 36 | #endif |