Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * traps.h:  Format of entries for the Sparc trap table.
0004  *
0005  * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
0006  */
0007 #ifndef _SPARC_TRAPS_H
0008 #define _SPARC_TRAPS_H
0009 
0010 #include <uapi/asm/traps.h>
0011 
0012 #ifndef __ASSEMBLY__
0013 /* This is for V8 compliant Sparc CPUS */
0014 struct tt_entry {
0015     unsigned long inst_one;
0016     unsigned long inst_two;
0017     unsigned long inst_three;
0018     unsigned long inst_four;
0019 };
0020 
0021 /* We set this to _start in system setup. */
0022 extern struct tt_entry *sparc_ttable;
0023 
0024 #endif /* !(__ASSEMBLY__) */
0025 #endif /* !(_SPARC_TRAPS_H) */