From 945095d0621757134bdf271fd12622ac16b57431 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 26 Mar 2018 13:08:07 +0200 Subject: bsps/genmcf548x: Move libcpu content to bsps This patch is a part of the BSP source reorganization. Update #3285. --- c/src/lib/libcpu/m68k/mcf548x/mcdma/mcdma_glue.c | 226 ----------------------- 1 file changed, 226 deletions(-) delete mode 100644 c/src/lib/libcpu/m68k/mcf548x/mcdma/mcdma_glue.c (limited to 'c/src/lib/libcpu/m68k/mcf548x/mcdma/mcdma_glue.c') diff --git a/c/src/lib/libcpu/m68k/mcf548x/mcdma/mcdma_glue.c b/c/src/lib/libcpu/m68k/mcf548x/mcdma/mcdma_glue.c deleted file mode 100644 index d3d6115143..0000000000 --- a/c/src/lib/libcpu/m68k/mcf548x/mcdma/mcdma_glue.c +++ /dev/null @@ -1,226 +0,0 @@ -/*===============================================================*\ -| Project: RTEMS generic MCF548x BSP | -+-----------------------------------------------------------------+ -| Copyright (c) 2004-2009 | -| 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 MC_DMA API | -\*===============================================================*/ -#include -#include -#include -#include -#include -#include - -#define MCDMA_INT_ENABLE(reg,chan) (reg &= ~(1 << (chan))) -#define MCDMA_INT_DISABLE(reg,chan) (reg |= (1 << (chan))) -#define MCDMA_CLEAR_IEVENT(reg,chan) (reg = (1 << (chan))) - -#define MCDMA_INT_BIT_IMPL 0x0000FFFF /* implemented IRQ sources (bitmask for IPEND... */ -#define MCDMA_IRQ_VECTOR (48+64) -#define MCDMA_IRQ_LEVEL (2) -#define MCDMA_IRQ_PRIORITY (2) -/*=========================================================================*\ -| Function: | -\*-------------------------------------------------------------------------*/ -void mcdma_glue_irq_enable -( -/*-------------------------------------------------------------------------*\ -| Purpose: | -| enable interrupt for given task number | -+---------------------------------------------------------------------------+ -| Input Parameters: | -\*-------------------------------------------------------------------------*/ - int mcdma_channo /* task number to enable */ -) -/*-------------------------------------------------------------------------*\ -| Return Value: | -| none | -\*=========================================================================*/ -{ - rtems_interrupt_level level; - if (0 != ((1UL<