x86/include/arch/boot: Fix header guard
While on it, reformat code and remove unused macro. Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Change-Id: I63e413820cb3f4dfa21d1692301348ecdb3190b9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/64784 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: David Hendricks <david.hendricks@gmail.com>
This commit is contained in:
parent
c71fa97038
commit
ec56d6f69e
@ -1,11 +1,7 @@
|
|||||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
|
|
||||||
#ifndef ASM_I386_BOOT_H
|
#ifndef X86_BOOT_H
|
||||||
#define ASM_I386_BOOT_H
|
#define X86_BOOT_H
|
||||||
|
|
||||||
#define ELF_CLASS ELFCLASS32
|
|
||||||
#define ELF_DATA ELFDATA2LSB
|
|
||||||
#define ELF_ARCH EM_386
|
|
||||||
|
|
||||||
#include <types.h>
|
#include <types.h>
|
||||||
/*
|
/*
|
||||||
@ -15,7 +11,6 @@
|
|||||||
*
|
*
|
||||||
* @noreturn
|
* @noreturn
|
||||||
*/
|
*/
|
||||||
void protected_mode_jump(uint32_t func_ptr,
|
void protected_mode_jump(uint32_t func_ptr, uint32_t argument);
|
||||||
uint32_t argument);
|
|
||||||
|
|
||||||
#endif /* ASM_I386_BOOT_H */
|
#endif /* X86_BOOT_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user