Commit 617b3c37 authored by Matt Fleming's avatar Matt Fleming

Merge branch 'mixed-mode' into efi-for-mingo

parents 994448f1 3db4cafd
...@@ -229,12 +229,14 @@ relocated: ...@@ -229,12 +229,14 @@ relocated:
xorl %ebx, %ebx xorl %ebx, %ebx
jmp *%eax jmp *%eax
#ifdef CONFIG_EFI_STUB
.data .data
efi32_config: efi32_config:
.fill 11,8,0 .fill 11,8,0
.long efi_call_phys .long efi_call_phys
.long 0 .long 0
.byte 0 .byte 0
#endif
/* /*
* Stack and heap for uncompression * Stack and heap for uncompression
......
...@@ -440,6 +440,7 @@ gdt: ...@@ -440,6 +440,7 @@ gdt:
.quad 0x0000000000000000 /* TS continued */ .quad 0x0000000000000000 /* TS continued */
gdt_end: gdt_end:
#ifdef CONFIG_EFI_STUB
efi_config: efi_config:
.quad 0 .quad 0
...@@ -456,6 +457,8 @@ efi64_config: ...@@ -456,6 +457,8 @@ efi64_config:
.fill 11,8,0 .fill 11,8,0
.quad efi_call6 .quad efi_call6
.byte 1 .byte 1
#endif /* CONFIG_EFI_STUB */
/* /*
* Stack and heap for uncompression * Stack and heap for uncompression
*/ */
......
...@@ -256,10 +256,11 @@ static void efi_stub_entry_update(void) ...@@ -256,10 +256,11 @@ static void efi_stub_entry_update(void)
#else #else
static inline void update_pecoff_setup_and_reloc(unsigned int) {} static inline void update_pecoff_setup_and_reloc(unsigned int size) {}
static inline void update_pecoff_text(unsigned int, unsigned int) {} static inline void update_pecoff_text(unsigned int text_start,
unsigned int file_sz) {}
static inline void efi_stub_defaults(void) {} static inline void efi_stub_defaults(void) {}
static inline void efi_stup_entry_update(void) {} static inline void efi_stub_entry_update(void) {}
static inline int reserve_pecoff_reloc_section(int c) static inline int reserve_pecoff_reloc_section(int c)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment