genode/repos/base/include/spec/arm_64/cpu/string.h

32 lines
732 B
C++

/*
* \brief CPU-specific memcpy
* \author Stefan Kalkowski
* \date 2012-08-02
*/
/*
* Copyright (C) 2019 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU Affero General Public License version 3.
*/
#ifndef _INCLUDE__SPEC__ARM_64__CPU__STRING_H_
#define _INCLUDE__SPEC__ARM_64__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__SPEC__ARM_64__CPU__STRING_H_ */