blob: 51abcb1f9b3bb7fd6948d2ee8fd6cbc82a7c0cbb [file] [log] [blame]
Adrian Bunk88278ca2008-05-19 16:53:02 -07001/*
Linus Torvalds1da177e2005-04-16 15:20:36 -07002 * traps.h: Format of entries for the Sparc trap table.
3 *
4 * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
5 */
Linus Torvalds1da177e2005-04-16 15:20:36 -07006#ifndef _SPARC_TRAPS_H
7#define _SPARC_TRAPS_H
8
David Howells54579822012-10-09 09:47:43 +01009#include <uapi/asm/traps.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070010
11#ifndef __ASSEMBLY__
Linus Torvalds1da177e2005-04-16 15:20:36 -070012/* This is for V8 compliant Sparc CPUS */
13struct tt_entry {
14 unsigned long inst_one;
15 unsigned long inst_two;
16 unsigned long inst_three;
17 unsigned long inst_four;
18};
19
20/* We set this to _start in system setup. */
21extern struct tt_entry *sparc_ttable;
22
Linus Torvalds1da177e2005-04-16 15:20:36 -070023#endif /* !(__ASSEMBLY__) */
Linus Torvalds1da177e2005-04-16 15:20:36 -070024#endif /* !(_SPARC_TRAPS_H) */