arch: x86: z_x86_prep_c -> z_prep_c
Rename to use common naming for z_prep_c applied to all architectures. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
4a73fb1b92
commit
fb19d532ed
6 changed files with 8 additions and 8 deletions
|
|
@ -17,7 +17,7 @@
|
|||
* contains MULTIBOOT_EAX_MAGIC and EBX points to a valid 'struct
|
||||
* multiboot_info'; otherwise EBX is just junk. Check EAX early
|
||||
* before it's clobbered and leave a sentinel (0) in EBX if invalid.
|
||||
* The valid in EBX will be the argument to z_x86_prep_c(), so the
|
||||
* The valid in EBX will be the argument to z_prep_c(), so the
|
||||
* subsequent code must, of course, be sure to preserve it meanwhile.
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
GTEXT(__start)
|
||||
|
||||
/* externs */
|
||||
GTEXT(z_x86_prep_c)
|
||||
GTEXT(z_prep_c)
|
||||
GTEXT(z_bss_zero)
|
||||
GTEXT(z_data_copy)
|
||||
|
||||
|
|
@ -287,7 +287,7 @@ __csSet:
|
|||
/* pointer to multiboot info, or NULL */
|
||||
movl %ebx, __x86_boot_arg_t_arg_OFFSET(%ebp)
|
||||
pushl $x86_cpu_boot_arg
|
||||
call z_x86_prep_c /* enter kernel; never returns */
|
||||
call z_prep_c /* enter kernel; never returns */
|
||||
|
||||
#if defined(CONFIG_X86_SSE)
|
||||
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ struct x86_cpuboot x86_cpuboot[] = {
|
|||
Z_KERNEL_STACK_SIZE_ADJUST(CONFIG_ISR_STACK_SIZE),
|
||||
.stack_size =
|
||||
Z_KERNEL_STACK_SIZE_ADJUST(CONFIG_ISR_STACK_SIZE),
|
||||
.fn = z_x86_prep_c,
|
||||
.fn = z_prep_c,
|
||||
.arg = &x86_cpu_boot_arg,
|
||||
},
|
||||
#if CONFIG_MP_MAX_NUM_CPUS > 1
|
||||
|
|
@ -176,7 +176,7 @@ void arch_start_cpu(int cpu_num, k_thread_stack_t *stack, int sz,
|
|||
#endif
|
||||
}
|
||||
|
||||
/* Per-CPU initialization, C domain. On the first CPU, z_x86_prep_c is the
|
||||
/* Per-CPU initialization, C domain. On the first CPU, z_prep_c is the
|
||||
* next step. For other CPUs it is probably smp_init_top().
|
||||
*/
|
||||
FUNC_NORETURN void z_x86_cpu_init(struct x86_cpuboot *cpuboot)
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ __pinned_data x86_boot_arg_t x86_cpu_boot_arg;
|
|||
* CPU for SMP systems.
|
||||
*/
|
||||
__boot_func
|
||||
FUNC_NORETURN void z_x86_prep_c(void *arg)
|
||||
FUNC_NORETURN void z_prep_c(void *arg)
|
||||
{
|
||||
x86_boot_arg_t *cpu_arg = arg;
|
||||
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ static inline bool arch_is_in_isr(void)
|
|||
|
||||
struct multiboot_info;
|
||||
|
||||
extern FUNC_NORETURN void z_x86_prep_c(void *arg);
|
||||
extern FUNC_NORETURN void z_prep_c(void *arg);
|
||||
|
||||
#ifdef CONFIG_X86_VERY_EARLY_CONSOLE
|
||||
/* Setup ultra-minimal serial driver for printk() */
|
||||
|
|
|
|||
|
|
@ -149,7 +149,7 @@ for its implementation as a Twister test.
|
|||
#1 0x00105068 in gdb_init (arg=0x0) at <ZEPHYR_BASE>/subsys/debug/gdbstub.c:833
|
||||
#2 0x00109d6f in z_sys_init_run_level (level=0x1) at <ZEPHYR_BASE>/kernel/device.c:72
|
||||
#3 0x0010a40b in z_cstart () at <ZEPHYR_BASE>/kernel/init.c:423
|
||||
#4 0x00105383 in z_x86_prep_c (arg=0x9500) at <ZEPHYR_BASE>/arch/x86/core/prep_c.c:58
|
||||
#4 0x00105383 in z_prep_c (arg=0x9500) at <ZEPHYR_BASE>/arch/x86/core/prep_c.c:58
|
||||
#5 0x001000a9 in __csSet () at <ZEPHYR_BASE>/arch/x86/core/ia32/crt0.S:273
|
||||
|
||||
#. Use command ``list`` to show the source code and surroundings where
|
||||
|
|
|
|||
Loading…
Reference in a new issue