26 lines
687 B
C
26 lines
687 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _SW64_KERNEL_PROTO_H
|
|
#define _SW64_KERNEL_PROTO_H
|
|
|
|
#include <linux/interrupt.h>
|
|
#include <linux/io.h>
|
|
#include <asm/pgtable.h>
|
|
|
|
/* ptrace.c */
|
|
extern int ptrace_set_bpt(struct task_struct *child);
|
|
extern int ptrace_cancel_bpt(struct task_struct *child);
|
|
|
|
/* traps.c */
|
|
extern void dik_show_regs(struct pt_regs *regs, unsigned long *r9_15);
|
|
extern void die_if_kernel(char *str, struct pt_regs *regs, long err, unsigned long *r9_15);
|
|
|
|
/* timer.c */
|
|
extern void setup_timer(void);
|
|
|
|
extern void __init setup_sched_clock(void);
|
|
#ifdef CONFIG_GENERIC_SCHED_CLOCK
|
|
extern void __init sw64_sched_clock_init(void);
|
|
#endif
|
|
|
|
#endif /* _SW64_PROTO_H */
|