[rtems commit] score: Avoid dependency on bcopy()

Sebastian Huber sebh at rtems.org
Tue Dec 15 10:33:02 UTC 2015


Module:    rtems
Branch:    master
Commit:    07b76fd76a39a077c00ac43f1f4960b1140da8ba
Changeset: http://git.rtems.org/rtems/commit/?id=07b76fd76a39a077c00ac43f1f4960b1140da8ba

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Dec 15 11:25:47 2015 +0100

score: Avoid dependency on bcopy()

---

 cpukit/score/src/kern_tc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c
index f6a1136..d8f086d 100644
--- a/cpukit/score/src/kern_tc.c
+++ b/cpukit/score/src/kern_tc.c
@@ -67,6 +67,7 @@ __FBSDID("$FreeBSD r284178 2015-06-09T11:49:56Z$");
 ISR_LOCK_DEFINE(static, _Timecounter_Lock, "Timecounter");
 #define hz rtems_clock_get_ticks_per_second()
 #define printf(...)
+#define bcopy(x, y, z) memcpy(y, x, z);
 #define log(...)
 static inline int
 fls(int x)




More information about the vc mailing list