External memory only in kernel space.
authorFlorian Pose <fp@igh-essen.com>
Thu, 02 Oct 2008 15:38:10 +0000
changeset 1248 3cc16b60a571
parent 1247 5f1f1a3e6636
child 1249 d64ed42e0d11
External memory only in kernel space.
include/ecrt.h
--- a/include/ecrt.h	Thu Oct 02 13:40:23 2008 +0000
+++ b/include/ecrt.h	Thu Oct 02 15:38:10 2008 +0000
@@ -788,6 +788,8 @@
         ec_domain_t *domain /**< Domain. */
         );
 
+#ifdef __KERNEL__
+
 /** Provide external memory to store the domain's process data.
  *
  * Call this after all Pdo entries have been registered and before activating
@@ -802,6 +804,8 @@
                           data in. */
         );
 
+#endif /* __KERNEL__ */
+
 /** Returns the domain's process data.
  *
  * If external memory was provided with ecrt_domain_external_memory(), the