Skip to content

Commit

Permalink
efi: Tag symbols with __export
Browse files Browse the repository at this point in the history
I missed some symbols previously that are required to be exported when
loading vesamenu.c32.

Signed-off-by: Matt Fleming <[email protected]>
  • Loading branch information
Matt Fleming committed Jun 21, 2013
1 parent 013ef76 commit 2a81889
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion efi/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ uint32_t _IdleTimer = 0;
char __lowmem_heap[32];
uint32_t BIOS_timer_next;
uint32_t timer_irq;
uint8_t KbdMap[256];
__export uint8_t KbdMap[256];
char aux_seg[256];

static inline EFI_STATUS
Expand Down
2 changes: 1 addition & 1 deletion efi/vesa.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ static int efi_vesacon_font_query(uint8_t **font)
return cp865_8x16_font_height;
}

int __vesacon_i915resolution(int x, int y)
__export int __vesacon_i915resolution(int x, int y)
{
/* We don't support this function */
return 1;
Expand Down

0 comments on commit 2a81889

Please sign in to comment.