summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tms320dm320/creative-zvm/dma-target.h
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2008-05-05 15:47:26 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2008-05-05 15:47:26 +0000
commite025cb1c3816cf755ed61484695dcabfdcf649b3 (patch)
treeed01d9547a314ae3d68064ebecdd94d8c4a61bb2 /firmware/target/arm/tms320dm320/creative-zvm/dma-target.h
parent6d12109ef7d1293810ffa3696f4dc66bcafb557b (diff)
downloadrockbox-e025cb1c3816cf755ed61484695dcabfdcf649b3.tar.gz
rockbox-e025cb1c3816cf755ed61484695dcabfdcf649b3.zip
Split up DMA and ATA, but don't enable it (yet).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17386 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/tms320dm320/creative-zvm/dma-target.h')
-rw-r--r--firmware/target/arm/tms320dm320/creative-zvm/dma-target.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/firmware/target/arm/tms320dm320/creative-zvm/dma-target.h b/firmware/target/arm/tms320dm320/creative-zvm/dma-target.h
new file mode 100644
index 0000000000..4573152a92
--- /dev/null
+++ b/firmware/target/arm/tms320dm320/creative-zvm/dma-target.h
@@ -0,0 +1,28 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2008 by Maurus Cuelenaere
11 *
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
14 *
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
17 *
18 ****************************************************************************/
19
20#ifndef DMA_TARGET_H
21#define DMA_TARGET_H
22
23void dma_start(const void* addr, size_t size); /* Compatibility with Gigabeat S in dma_start.c */
24void dma_ata_read(unsigned char* buf, int wordcount);
25void dma_ata_write(unsigned char* buf, int wordcount);
26void dma_init(void);
27
28#endif