kernel: rename z_arch_ to arch_
Promote the private z_arch_* namespace, which specifies the interface between the core kernel and the architecture code, to a new top-level namespace named arch_*. This allows our documentation generation to create online documentation for this set of interfaces, and this set of interfaces is worth treating in a more formal way anyway. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
a6de79b4af
commit
4f77c2ad53
178 changed files with 912 additions and 910 deletions
|
@ -18,20 +18,20 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
static inline void z_arch_kernel_init(void)
|
||||
static inline void arch_kernel_init(void)
|
||||
{
|
||||
/* No-op on this arch */
|
||||
}
|
||||
|
||||
static ALWAYS_INLINE void
|
||||
z_arch_thread_return_value_set(struct k_thread *thread, unsigned int value)
|
||||
arch_thread_return_value_set(struct k_thread *thread, unsigned int value)
|
||||
{
|
||||
/* write into 'eax' slot created in z_swap() entry */
|
||||
|
||||
*(unsigned int *)(thread->callee_saved.esp) = value;
|
||||
}
|
||||
|
||||
extern void z_arch_cpu_atomic_idle(unsigned int key);
|
||||
extern void arch_cpu_atomic_idle(unsigned int key);
|
||||
|
||||
#ifdef CONFIG_USERSPACE
|
||||
extern FUNC_NORETURN void z_x86_userspace_enter(k_thread_entry_t user_entry,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue