blob: e40d3603c7e78f45b450e3673efcf43e2451d01b [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001/* SPDX-License-Identifier: GPL-2.0-only */
GuanXuetao141c9432011-01-15 18:15:45 +08002/*
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
GuanXuetao141c9432011-01-15 18:15:45 +08008 */
9#ifndef __UNICORE_KERNEL_SETUP_H__
10#define __UNICORE_KERNEL_SETUP_H__
11
Guan Xuetao8978bfd2012-03-28 18:30:03 +010012#include <asm/hwdef-copro.h>
13
GuanXuetao141c9432011-01-15 18:15:45 +080014extern void paging_init(void);
15extern void puv3_core_init(void);
Guan Xuetao8978bfd2012-03-28 18:30:03 +010016extern void cpu_init(void);
GuanXuetao141c9432011-01-15 18:15:45 +080017
18extern void puv3_ps2_init(void);
19extern void pci_puv3_preinit(void);
20extern void __init puv3_init_gpio(void);
21
Robin Holtc97a7002013-07-08 16:01:36 -070022extern void setup_mm_for_reboot(void);
GuanXuetao141c9432011-01-15 18:15:45 +080023
24extern char __stubs_start[], __stubs_end[];
25extern char __vectors_start[], __vectors_end[];
26
27extern void kernel_thread_helper(void);
28
29extern void __init early_signal_init(void);
Guan Xuetao10e1e992012-06-14 11:38:25 +080030
31extern asmlinkage void __backtrace(void);
32extern asmlinkage void c_backtrace(unsigned long fp, int pmode);
33
34extern void __show_regs(struct pt_regs *);
35
GuanXuetao141c9432011-01-15 18:15:45 +080036#endif