Comment 1 for bug 689557

Revision history for this message
fireicer (f1r31c3r) wrote :

Update:

I modified the file:

graphics_output.h

 grub_efi_status_t
/* (*blt) (struct grub_efi_uga_draw_protocol *this, */
  (*blt) (struct grub_efi_graphics_output_protocol *this,
   struct grub_efi_uga_pixel *blt_buffer,
   enum grub_efi_uga_blt_operation blt_operation,
   grub_efi_uintn_t src_x,
   grub_efi_uintn_t src_y,
   grub_efi_uintn_t dest_x,
   grub_efi_uintn_t dest_y,
   grub_efi_uintn_t width,
   grub_efi_uintn_t height,
   grub_efi_uintn_t delta);

  struct grub_efi_graphics_output_mode *mode;

This section falls towards the end of the file ~Line 78. The commented out section refereed to uga_draw_protocol which seemed strange to me why it was in the graphics output header, as you can see from the above i modified it to (*blt) (struct grub_efi_graphics_output_protocol.

The make process compiles past this file and fails on a further error

CC netfs_mod-fs_efi_netfs.o
cc1: warnings being treated as errors
../fs/efi/netfs.c: In function ‘find_handles’:
../fs/efi/netfs.c:55: error: passing argument 3 of ‘grub_efi_system_table->boot_services->handle_protocol’ from incompatible pointer type
../fs/efi/netfs.c:55: note: expected ‘void **’ but argument is of type ‘struct grub_efi_load_file_protocol_t **’
make: *** [netfs_mod-fs_efi_netfs.o] Error 1