OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-mips/] [traps.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1276 phoenix
/*
2
 *      include/asm-mips/traps.h
3
 *
4
 *      Trap handling definitions.
5
 *
6
 *      Copyright (C) 2002, 2003  Maciej W. Rozycki
7
 *
8
 *      This program is free software; you can redistribute it and/or
9
 *      modify it under the terms of the GNU General Public License
10
 *      as published by the Free Software Foundation; either version
11
 *      2 of the License, or (at your option) any later version.
12
 */
13
#ifndef __ASM_MIPS_TRAPS_H
14
#define __ASM_MIPS_TRAPS_H
15
 
16
/*
17
 * Possible status responses for a board_be_handler backend.
18
 */
19
#define MIPS_BE_DISCARD 0                /* return with no action */
20
#define MIPS_BE_FIXUP   1               /* return to the fixup code */
21
#define MIPS_BE_FATAL   2               /* treat as an unrecoverable error */
22
 
23
extern void (*board_be_init)(void);
24
extern int (*board_be_handler)(struct pt_regs *regs, int is_fixup);
25
 
26
#endif /* __ASM_MIPS_TRAPS_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.