kernel: rename thread return value functions

z_set_thread_return_value is part of the core kernel -> arch
interface and has been renamed to z_arch_thread_return_value_set.

z_set_thread_return_value_with_data renamed to
z_thread_return_value_set_with_data for consistency.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2019-09-21 16:25:56 -07:00 committed by Anas Nashif
commit 4ad9f687df
22 changed files with 31 additions and 31 deletions

View file

@ -120,7 +120,7 @@ SECTION_FUNC(exception.other, __swap)
/*
* Load return value into r2 (return value register). -EAGAIN unless
* someone previously called z_set_thread_return_value(). Do this before
* someone previously called z_arch_thread_return_value_set(). Do this before
* we potentially unlock interrupts.
*/
ldw r2, _thread_offset_to_retval(r2)