arch/x86: (Intel64) migrate from __swap to z_arch_switch()
The latter primitive is required for SMP. Signed-off-by: Charles E. Youse <charles.youse@intel.com>
This commit is contained in:
parent
32fc239aa2
commit
074ce889fb
4 changed files with 43 additions and 46 deletions
|
@ -8,11 +8,7 @@
|
|||
|
||||
#ifndef _ASMLANGUAGE
|
||||
|
||||
static ALWAYS_INLINE void
|
||||
z_set_thread_return_value(struct k_thread *thread, unsigned int value)
|
||||
{
|
||||
thread->callee_saved.rax = value;
|
||||
}
|
||||
extern void z_arch_switch(void *switch_to, void **switched_from);
|
||||
|
||||
static inline void kernel_arch_init(void)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue