2012-08-02 14:39:16 +00:00
|
|
|
/*
|
|
|
|
* \brief Cpu specifi memcpy
|
|
|
|
* \author Sebastian Sumpf
|
|
|
|
* \date 2012-08-02
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2013-01-10 20:44:47 +00:00
|
|
|
* Copyright (C) 2012-2013 Genode Labs GmbH
|
2012-08-02 14:39:16 +00:00
|
|
|
*
|
|
|
|
* This file is part of the Genode OS framework, which is distributed
|
|
|
|
* under the terms of the GNU General Public License version 2.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _INCLUDE__X86__CPU__STRING_H_
|
|
|
|
#define _INCLUDE__X86__CPU__STRING_H_
|
|
|
|
|
|
|
|
namespace Genode
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Copy memory block
|
|
|
|
*
|
|
|
|
* \param dst destination memory block
|
|
|
|
* \param src source memory block
|
|
|
|
* \param size number of bytes to copy
|
|
|
|
*
|
|
|
|
* \return Number of bytes not copied
|
|
|
|
*/
|
2012-11-14 11:20:31 +00:00
|
|
|
inline size_t memcpy_cpu(void *, const void *, size_t size) {
|
2012-08-02 14:39:16 +00:00
|
|
|
return size; }
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* _INCLUDE__X86__CPU__STRING_H_ */
|