2016-02-11 10:59:31 +00:00
|
|
|
/*
|
|
|
|
* \brief CPU-specific memcpy
|
|
|
|
* \author Sebastian Sumpf
|
|
|
|
* \date 2015-06-01
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2017-02-20 12:23:52 +00:00
|
|
|
* Copyright (C) 2015-2017 Genode Labs GmbH
|
2016-02-11 10:59:31 +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.
|
2016-02-11 10:59:31 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _INCLUDE__RISCV__CPU__STRING_H_
|
|
|
|
#define _INCLUDE__RISCV__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
|
|
|
|
*/
|
|
|
|
inline size_t memcpy_cpu(void *, const void *, size_t size) {
|
|
|
|
return size; }
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* _INCLUDE__RISCV__CPU__STRING_H_ */
|