bsps/sparc: Move gnatsupp to bsps

This patch is a part of the BSP source reorganization.

Update #3285.
This commit is contained in:
Sebastian Huber
2018-04-20 13:44:00 +02:00
parent 1efa1c8389
commit 96faf12a24
6 changed files with 3 additions and 3 deletions

View File

@@ -0,0 +1,30 @@
/**
* @file
*
* @ingroup sparc_leon2
*
* @brief Support for gnat/rtems iterrupts and exception handling
*/
/*
* COPYRIGHT (c) 1999.
* European Space Agency.
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
*
*/
#include <bsp/gnatcommon.h>
/*
* Avoid trap 0x18 which is used by the clock tick, and
* 0x12 (UART B interrupt) which is used by the stub.
*/
void
__gnat_install_handler (void)
{
__gnat_install_handler_common (0x18, 0x12);
}