/*===============================================================*\ | Project: RTEMS generic MPC5200 BSP | +-----------------------------------------------------------------+ | Copyright (c) 2004-2005 | | Embedded Brains GmbH | | Obere Lagerstr. 30 | | D-82178 Puchheim | | Germany | | rtems@embedded-brains.de | +-----------------------------------------------------------------+ | 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. | | | +-----------------------------------------------------------------+ | this file contains glue functions to the Freescale BestComm API | \*===============================================================*/ #include #include #include #include #include "../include/mpc5200.h" #include "include/ppctypes.h" /* uint32, et. al. */ #include "dma_image.h" #include "task_api/bestcomm_cntrl.h" #include "bestcomm_api.h" #include "bestcomm_glue.h" #include "include/mgt5200/sdma.h" #include extern const uint32 taskTableBytes; static Heap_Control bestcomm_heap; /*=========================================================================*\ | Function: | \*-------------------------------------------------------------------------*/ void bestcomm_glue_irq_enable ( /*-------------------------------------------------------------------------*\ | Purpose: | | enable interrupt for given task number | +---------------------------------------------------------------------------+ | Input Parameters: | \*-------------------------------------------------------------------------*/ int bestcomm_taskno /* task number to enable */ ) /*-------------------------------------------------------------------------*\ | Return Value: | | none | \*=========================================================================*/ { if (0 != ((1UL<