Resync with broadcom drivers 5.100.138.20 and utilities.
[tomato.git] / release / src-rt / include / hndrte_trap.h
bloba61406ec038e92c84c3b9adaa9022743b8ddfe9e
1 /*
2 * HNDRTE Trap handling.
4 * Copyright (C) 2010, Broadcom Corporation
5 * All Rights Reserved.
6 *
7 * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation;
8 * the contents of this file may not be disclosed to third parties, copied
9 * or duplicated in any form, in whole or in part, without the prior
10 * written permission of Broadcom Corporation.
12 * $Id: hndrte_trap.h,v 13.10 2009-07-15 20:45:42 Exp $
15 #ifndef _HNDRTE_TRAP_H
16 #define _HNDRTE_TRAP_H
19 /* Trap handling */
22 #if defined(mips)
23 #include <hndrte_mipstrap.h>
24 #elif defined(__arm__) || defined(__thumb__) || defined(__thumb2__)
25 #include <hndrte_armtrap.h>
26 #endif
29 #ifndef _LANGUAGE_ASSEMBLY
31 #include <typedefs.h>
33 extern uint32 hndrte_set_trap(uint32 hook);
34 extern void hndrte_die(uint32 line);
35 extern void hndrte_unimpl(void);
37 #endif /* !_LANGUAGE_ASSEMBLY */
38 #endif /* _HNDRTE_TRAP_H */