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
|
@ -190,8 +190,8 @@ static void appcpu_start(void)
|
|||
smp_log("ESP32: APPCPU start sequence complete");
|
||||
}
|
||||
|
||||
void z_arch_start_cpu(int cpu_num, k_thread_stack_t *stack, int sz,
|
||||
void (*fn)(int, void *), void *arg)
|
||||
void arch_start_cpu(int cpu_num, k_thread_stack_t *stack, int sz,
|
||||
void (*fn)(int, void *), void *arg)
|
||||
{
|
||||
volatile struct cpustart_rec sr;
|
||||
int vb;
|
||||
|
|
|
@ -64,7 +64,7 @@ void __attribute__((section(".iram1"))) __start(void)
|
|||
|
||||
/* Initialize the architecture CPU pointer. Some of the
|
||||
* initialization code wants a valid _current before
|
||||
* z_arch_kernel_init() is invoked.
|
||||
* arch_kernel_init() is invoked.
|
||||
*/
|
||||
__asm__ volatile("wsr.MISC0 %0; rsync" : : "r"(&_kernel.cpus[0]));
|
||||
|
||||
|
@ -76,7 +76,7 @@ void __attribute__((section(".iram1"))) __start(void)
|
|||
}
|
||||
|
||||
/* Boot-time static default printk handler, possibly to be overridden later. */
|
||||
int z_arch_printk_char_out(int c)
|
||||
int arch_printk_char_out(int c)
|
||||
{
|
||||
if (c == '\n') {
|
||||
esp32_rom_uart_tx_one_char('\r');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue