mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 17:54:13 +08:00
1da177e4c3
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
19 lines
350 B
C
19 lines
350 B
C
#ifndef _ASMARM_TRAP_H
|
|
#define _ASMARM_TRAP_H
|
|
|
|
#include <linux/list.h>
|
|
|
|
struct undef_hook {
|
|
struct list_head node;
|
|
u32 instr_mask;
|
|
u32 instr_val;
|
|
u32 cpsr_mask;
|
|
u32 cpsr_val;
|
|
int (*fn)(struct pt_regs *regs, unsigned int instr);
|
|
};
|
|
|
|
void register_undef_hook(struct undef_hook *hook);
|
|
void unregister_undef_hook(struct undef_hook *hook);
|
|
|
|
#endif
|