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
|
@ -251,14 +251,14 @@ void z_clock_set_timeout(s32_t ticks, bool idle)
|
|||
/* Desired delay in the future */
|
||||
delay = (ticks == 0) ? CYC_PER_TICK : ticks * CYC_PER_TICK;
|
||||
|
||||
key = z_arch_irq_lock();
|
||||
key = arch_irq_lock();
|
||||
|
||||
timer0_limit_register_set(delay - 1);
|
||||
timer0_count_register_set(0);
|
||||
timer0_control_register_set(_ARC_V2_TMR_CTRL_NH |
|
||||
_ARC_V2_TMR_CTRL_IE);
|
||||
|
||||
z_arch_irq_unlock(key);
|
||||
arch_irq_unlock(key);
|
||||
#endif
|
||||
#else
|
||||
if (IS_ENABLED(CONFIG_TICKLESS_IDLE) && idle && ticks == K_FOREVER) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue