hv: modularization: remove include/boot.h.
Remove include/boot.h since it contains only assembly variables that should only be accessed in arch/x86/init.c. Tracked-On: #5661 Signed-off-by: Yi Liang <yi.liang@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
parent
1de396363f
commit
67926cee81
|
@ -23,9 +23,6 @@
|
|||
|
||||
#include <config.h>
|
||||
#include <multiboot.h>
|
||||
#ifdef CONFIG_MULTIBOOT2
|
||||
#include <multiboot2.h>
|
||||
#endif
|
||||
|
||||
/* MULTIBOOT HEADER */
|
||||
#define MULTIBOOT_HEADER_FLAGS MULTIBOOT_HEADER_NEED_MEMINFO
|
||||
|
|
|
@ -14,9 +14,13 @@
|
|||
#include <logmsg.h>
|
||||
#include <seed.h>
|
||||
#include <ld_sym.h>
|
||||
#include <boot.h>
|
||||
#include <multiboot.h>
|
||||
|
||||
/* The following are assembly varaibles defined in arch/x86/boot/cpu_primary.S */
|
||||
/* boot_regs store the multiboot info magic and address */
|
||||
extern uint32_t boot_regs[2];
|
||||
extern char *efiloader_sig;
|
||||
|
||||
/* Push sp magic to top of stack for call trace */
|
||||
#define SWITCH_TO(rsp, to) \
|
||||
{ \
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2020 Intel Corporation. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#ifndef BOOT_H_
|
||||
#define BOOT_H_
|
||||
|
||||
#include <types.h>
|
||||
|
||||
#ifndef ASSEMBLER
|
||||
|
||||
/* boot_regs store the multiboot info magic and address */
|
||||
extern uint32_t boot_regs[2];
|
||||
|
||||
extern char *efiloader_sig;
|
||||
|
||||
#endif /* ASSEMBLER */
|
||||
|
||||
#endif /* BOOT_H_ */
|
Loading…
Reference in New Issue