summaryrefslogtreecommitdiff
path: root/firmware/test/memory/functions.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/test/memory/functions.h')
-rw-r--r--firmware/test/memory/functions.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/firmware/test/memory/functions.h b/firmware/test/memory/functions.h
new file mode 100644
index 0000000000..e0f6aeac97
--- /dev/null
+++ b/firmware/test/memory/functions.h
@@ -0,0 +1,34 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2002 by Alan Korr
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#ifndef __LIBRARY_MEMORY_H__
20# error "This header file must be included ONLY from memory.h."
21#endif
22# ifndef __LIBRARY_MEMORY_FUNCTIONS_H__
23# define __LIBRARY_MEMORY_FUNCTIONS_H__
24extern void memory_copy (void *target,void const *source,unsigned int count);
25extern void memory_set (void *target,int byte,unsigned int count);
26extern int memory_release_page (void *);
27extern void *memory_allocate_page (int);
28extern void memory_setup (void);
29# ifdef TEST
30void memory_spy_page (void *address);
31void memory_dump (int order);
32void memory_check (int order);
33# endif
34#endif