fix target Xenomai missing functions
authorwuyangtang <wuyangtang@live.com>
Wed, 05 Jul 2017 13:11:45 +0300
changeset 1717 a86deec92e08
parent 1716 ccb2ed164418
child 1718 703ddaf48b00
fix target Xenomai missing functions
targets/Xenomai/plc_Xenomai_main.c
targets/Xenomai/plc_Xenomai_noretain.c
--- a/targets/Xenomai/plc_Xenomai_main.c	Wed Jul 05 13:03:58 2017 +0300
+++ b/targets/Xenomai/plc_Xenomai_main.c	Wed Jul 05 13:11:45 2017 +0300
@@ -363,3 +363,31 @@
     }    /* as plc does not wait for lock. */
 }
 
+int CheckRetainBuffer(void)
+{
+	return 1;
+}
+
+void ValidateRetainBuffer(void)
+{
+}
+
+void InValidateRetainBuffer(void)
+{
+}
+
+void Retain(unsigned int offset, unsigned int count, void *p)
+{
+}
+
+void Remind(unsigned int offset, unsigned int count, void *p)
+{
+}
+
+void CleanupRetain(void)
+{
+}
+
+void InitRetain(void)
+{
+}
--- a/targets/Xenomai/plc_Xenomai_noretain.c	Wed Jul 05 13:03:58 2017 +0300
+++ b/targets/Xenomai/plc_Xenomai_noretain.c	Wed Jul 05 13:11:45 2017 +0300
@@ -18,3 +18,11 @@
 void Remind(unsigned int offset, unsigned int count, void *p)
 {
 }
+
+void CleanupRetain(void)
+{
+}
+
+void InitRetain(void)
+{
+}