Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __ASM_EXTABLE_H
0003 #define __ASM_EXTABLE_H
0004 /*
0005  * The exception table consists of pairs of addresses: the first is the
0006  * address of an instruction that is allowed to fault, and the second is
0007  * the address at which the program should continue.  No registers are
0008  * modified, so it is entirely up to the continuation code to figure out
0009  * what to do.
0010  *
0011  * All the routines below use bits of fixup code that are out of line
0012  * with the main instruction path.  This means when everything is well,
0013  * we don't even have to jump over them.  Further, they do not intrude
0014  * on our cache or tlb entries.
0015  */
0016 
0017 struct exception_table_entry {
0018         unsigned int insn, fixup;
0019 };
0020 
0021 #endif