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
|
@ -66,7 +66,7 @@ void sys_arch_reboot(int type)
|
|||
EVENT_UNIT->SLPCTRL |= EVENT_SLPCTRL_SYSRSTREQST_MASK;
|
||||
}
|
||||
|
||||
void z_arch_irq_enable(unsigned int irq)
|
||||
void arch_irq_enable(unsigned int irq)
|
||||
{
|
||||
if (IS_ENABLED(CONFIG_MULTI_LEVEL_INTERRUPTS)) {
|
||||
unsigned int level = rv32m1_irq_level(irq);
|
||||
|
@ -84,7 +84,7 @@ void z_arch_irq_enable(unsigned int irq)
|
|||
}
|
||||
}
|
||||
|
||||
void z_arch_irq_disable(unsigned int irq)
|
||||
void arch_irq_disable(unsigned int irq)
|
||||
{
|
||||
if (IS_ENABLED(CONFIG_MULTI_LEVEL_INTERRUPTS)) {
|
||||
unsigned int level = rv32m1_irq_level(irq);
|
||||
|
@ -102,7 +102,7 @@ void z_arch_irq_disable(unsigned int irq)
|
|||
}
|
||||
}
|
||||
|
||||
int z_arch_irq_is_enabled(unsigned int irq)
|
||||
int arch_irq_is_enabled(unsigned int irq)
|
||||
{
|
||||
if (IS_ENABLED(CONFIG_MULTI_LEVEL_INTERRUPTS)) {
|
||||
unsigned int level = rv32m1_irq_level(irq);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue