From ac67d701738733035d051312f48a05963e1e0d80 Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Fri, 16 May 2008 21:16:01 +0000 Subject: Add beginning of DSP code (done by Catalin Patulea), but don't enable it yet as there's no C54xx compiler in the toolchain yet.. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17547 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/tms320dm320/dsp/arm.h | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 firmware/target/arm/tms320dm320/dsp/arm.h (limited to 'firmware/target/arm/tms320dm320/dsp/arm.h') diff --git a/firmware/target/arm/tms320dm320/dsp/arm.h b/firmware/target/arm/tms320dm320/dsp/arm.h new file mode 100644 index 0000000000..515c75ad26 --- /dev/null +++ b/firmware/target/arm/tms320dm320/dsp/arm.h @@ -0,0 +1,32 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * $Id$ + * + * Copyright (C) 2008 by Catalin Patulea + * + * All files in this archive are subject to the GNU General Public License. + * See the file COPYING in the source tree root for full license agreement. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ + +#ifndef ARM_H +#define ARM_H +#include "registers.h" + +extern volatile struct ipc_message status; + +void debugf(const char *fmt, ...); + +inline void int_arm(void) { + CP_INTC = 1 << 3; +} + +#endif -- cgit v1.2.3