2012-08-02 14:39:16 +00:00
|
|
|
/*
|
2015-03-20 16:50:41 +00:00
|
|
|
* \brief CPU-specific memcpy
|
2012-08-02 14:39:16 +00:00
|
|
|
* \author Sebastian Sumpf
|
|
|
|
* \date 2012-08-02
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2017-02-20 12:23:52 +00:00
|
|
|
* Copyright (C) 2012-2017 Genode Labs GmbH
|
2012-08-02 14:39:16 +00:00
|
|
|
*
|
|
|
|
* This file is part of the Genode OS framework, which is distributed
|
2017-02-20 12:23:52 +00:00
|
|
|
* under the terms of the GNU Affero General Public License version 3.
|
2012-08-02 14:39:16 +00:00
|
|
|
*/
|
|
|
|
|
2015-09-03 12:55:05 +00:00
|
|
|
#ifndef _INCLUDE__SPEC__X86__CPU__STRING_H_
|
|
|
|
#define _INCLUDE__SPEC__X86__CPU__STRING_H_
|
2012-08-02 14:39:16 +00:00
|
|
|
|
2015-03-04 20:12:14 +00:00
|
|
|
namespace Genode {
|
|
|
|
|
2012-08-02 14:39:16 +00:00
|
|
|
/**
|
|
|
|
* Copy memory block
|
|
|
|
*
|
|
|
|
* \param dst destination memory block
|
|
|
|
* \param src source memory block
|
|
|
|
* \param size number of bytes to copy
|
|
|
|
*
|
2015-03-20 16:50:41 +00:00
|
|
|
* \return number of bytes not copied
|
2012-08-02 14:39:16 +00:00
|
|
|
*/
|
2015-03-04 20:12:14 +00:00
|
|
|
inline size_t memcpy_cpu(void *, const void *, size_t size) { return size; }
|
2012-08-02 14:39:16 +00:00
|
|
|
}
|
|
|
|
|
2015-09-03 12:55:05 +00:00
|
|
|
#endif /* _INCLUDE__SPEC__X86__CPU__STRING_H_ */
|