include/ecrt.h
changeset 1258 900f1124e8f8
parent 1257 9844ac126275
child 1267 75900030f0c3
--- a/include/ecrt.h	Fri Oct 10 07:58:48 2008 +0000
+++ b/include/ecrt.h	Fri Oct 10 08:34:15 2008 +0000
@@ -780,6 +780,8 @@
                                                    registrations. */
         );
 
+#ifdef __KERNEL__
+
 /** Returns the current size of the domain's process data.
  *
  * \return Size of the process data image.
@@ -788,8 +790,6 @@
         const 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
@@ -808,12 +808,14 @@
 
 /** Returns the domain's process data.
  *
- * If external memory was provided with ecrt_domain_external_memory(), the
- * returned pointer will contain the address of that memory. Otherwise it will
- * point to the internally allocated memory.
- *
- * \attention In case of internal domain memory (default), this method may not
- * be called before ecrt_master_activate().
+ * - In kernel context: If external memory was provided with
+ * ecrt_domain_external_memory(), the returned pointer will contain the
+ * address of that memory. Otherwise it will point to the internally allocated
+ * memory. In the latter case, this method may not be called before
+ * ecrt_master_activate().
+ *
+ * - In userspace context: This method has to be called after
+ * ecrt_master_activate() to get the mapped domain process data memory.
  *
  * \return Pointer to the process data memory.
  */