arch_interface: update arch_mem_domain_thread_add

Implementations may assume the target thread isn't already
a member of the memory domain.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2020-10-20 15:21:34 -07:00 committed by Andrew Boie
commit afe42bd129

View file

@ -552,8 +552,9 @@ int arch_mem_domain_init(struct k_mem_domain *domain);
* Architecture-specific hook to manage internal data structures or hardware
* state when the provided thread has been added to a memory domain.
*
* The thread's memory domain pointer will be set to the domain to be added
* to.
* The thread->mem_domain_info.mem_domain pointer will be set to the domain to
* be added to before this is called. Implementations may assume that the
* thread is not already a member of this domain.
*
* @param thread Thread which needs to be configured.
*/