From eb65f89f0e1b88e3d7576eee3e490c007d02076d Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Wed, 22 Feb 2006 01:20:45 +0000 Subject: 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 --- firmware/include/memory.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 firmware/include/memory.h (limited to 'firmware/include') 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 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * $Id$ + * + * Copyright (C) 2006 by Jens Arnold + * + * 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 _MEMORY_H_ +#define _MEMORY_H_ + +#include + +void *memset16(void *dst, int val, size_t len); + +#endif /* _MEMORY_H_ */ -- cgit v1.2.3