arch/x86: declare z_x86_prep_c() in kernel_arch_func.h

And remove the ad hoc prototype in cpu.c for Intel64.

Signed-off-by: Charles E. Youse <charles.youse@intel.com>
This commit is contained in:
Charles E. Youse 2019-10-07 12:26:49 -04:00 committed by Anas Nashif
commit 643661cb44
2 changed files with 4 additions and 2 deletions

View file

@ -18,8 +18,6 @@
__weak u8_t x86_cpu_loapics[] = { 0, 1, 2, 3 };
extern FUNC_NORETURN void z_x86_prep_c(int dummy, struct multiboot_info *info);
extern char x86_ap_start[]; /* AP entry point in locore.S */
extern u8_t _exception_stack[];

View file

@ -25,6 +25,10 @@ extern K_THREAD_STACK_DEFINE(_interrupt_stack1, CONFIG_ISR_STACK_SIZE);
extern K_THREAD_STACK_DEFINE(_interrupt_stack2, CONFIG_ISR_STACK_SIZE);
extern K_THREAD_STACK_DEFINE(_interrupt_stack3, CONFIG_ISR_STACK_SIZE);
struct multiboot_info;
extern FUNC_NORETURN void z_x86_prep_c(int dummy, struct multiboot_info *info);
#endif
#endif /* ZEPHYR_ARCH_X86_INCLUDE_KERNEL_ARCH_FUNC_H_ */