x86: move z_x86_early_serial_init()
This works with long mode as well, uplevel to common kernel_arch_func.h. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
3b9bcbb23f
commit
24958f30d9
2 changed files with 5 additions and 5 deletions
|
@ -23,11 +23,6 @@ extern "C" {
|
|||
#define STACK_ROUND_UP(x) ROUND_UP(x, STACK_ALIGN_SIZE)
|
||||
#define STACK_ROUND_DOWN(x) ROUND_DOWN(x, STACK_ALIGN_SIZE)
|
||||
|
||||
#ifdef CONFIG_X86_VERY_EARLY_CONSOLE
|
||||
/* Setup ultra-minimal serial driver for printk() */
|
||||
void z_x86_early_serial_init(void);
|
||||
#endif
|
||||
|
||||
/* Create all page tables with boot configuration and enable paging */
|
||||
void z_x86_paging_init(void);
|
||||
|
||||
|
|
|
@ -31,6 +31,11 @@ struct multiboot_info;
|
|||
|
||||
extern FUNC_NORETURN void z_x86_prep_c(int dummy, struct multiboot_info *info);
|
||||
|
||||
#ifdef CONFIG_X86_VERY_EARLY_CONSOLE
|
||||
/* Setup ultra-minimal serial driver for printk() */
|
||||
void z_x86_early_serial_init(void);
|
||||
#endif /* CONFIG_X86_VERY_EARLY_CONSOLE */
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* ZEPHYR_ARCH_X86_INCLUDE_KERNEL_ARCH_FUNC_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue