2026-01-21 18:59:54 +08:00
|
|
|
/* 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>
|
2026-01-29 22:25:33 +08:00
|
|
|
#include <asm/sw64io.h>
|
2026-01-21 18:59:54 +08:00
|
|
|
|
|
|
|
|
/* ptrace.c */
|
|
|
|
|
extern int ptrace_set_bpt(struct task_struct *child);
|
|
|
|
|
extern int ptrace_cancel_bpt(struct task_struct *child);
|
|
|
|
|
|
|
|
|
|
/* traps.c */
|
2026-01-29 22:25:33 +08:00
|
|
|
extern void show_regs(struct pt_regs *regs);
|
|
|
|
|
extern void die(char *str, struct pt_regs *regs, long err);
|
2026-01-21 18:59:54 +08:00
|
|
|
|
2026-01-29 22:25:33 +08:00
|
|
|
#endif /* _SW64_KERNEL_PROTO_H */
|