diff options
author | Jens Arnold <amiconn@rockbox.org> | 2006-02-22 01:20:45 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2006-02-22 01:20:45 +0000 |
commit | eb65f89f0e1b88e3d7576eee3e490c007d02076d (patch) | |
tree | 7415e87f06bc131f362e69d2e25cd0e625d48841 /firmware/include/memory.h | |
parent | a875703e6e0e26cfd4dfd74d56a7d28feb37bdc5 (diff) | |
download | rockbox-eb65f89f0e1b88e3d7576eee3e490c007d02076d.tar.gz rockbox-eb65f89f0e1b88e3d7576eee3e490c007d02076d.zip |
Added memset16() for filling memory regions with 16 bit values, needed for upcoming 16 bit LCD driver opts. ASM optimised for coldfire.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8773 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/include/memory.h')
-rwxr-xr-x | firmware/include/memory.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/firmware/include/memory.h b/firmware/include/memory.h new file mode 100755 index 0000000000..2b2a60c7b4 --- /dev/null +++ b/firmware/include/memory.h | |||
@@ -0,0 +1,27 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2006 by Jens Arnold | ||
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 _MEMORY_H_ | ||
21 | #define _MEMORY_H_ | ||
22 | |||
23 | #include <sys/types.h> | ||
24 | |||
25 | void *memset16(void *dst, int val, size_t len); | ||
26 | |||
27 | #endif /* _MEMORY_H_ */ | ||