Skip to content

Commit

Permalink
x86/include/arch/boot: Fix header guard
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ElyesH authored and ElectricalPaul committed May 31, 2022
1 parent c71fa97 commit ec56d6f
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions src/arch/x86/include/arch/boot/boot.h
@@ -1,11 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef ASM_I386_BOOT_H
#define ASM_I386_BOOT_H

#define ELF_CLASS ELFCLASS32
#define ELF_DATA ELFDATA2LSB
#define ELF_ARCH EM_386
#ifndef X86_BOOT_H
#define X86_BOOT_H

#include <types.h>
/*
Expand All @@ -15,7 +11,6 @@
*
* @noreturn
*/
void protected_mode_jump(uint32_t func_ptr,
uint32_t argument);
void protected_mode_jump(uint32_t func_ptr, uint32_t argument);

#endif /* ASM_I386_BOOT_H */
#endif /* X86_BOOT_H */

0 comments on commit ec56d6f

Please sign in to comment.