gnu-efi/inc
Peter Jones 28b487d1ae Fix typedef of EFI_PXE_BASE_CODE
Commit 751cbce3 fixed up a bunch of types to better match the edk2
definitions and the names in the UEFI Spec, but while doing so
inadvertantly defined things thusly:

  INTERFACE_DECL(_EFI_PXE_BASE_CODE_PROTOCOL);
  ...
  typedef struct _EFI_PXE_BASE_CODE_PROTOCOL {
  ...
  } EFI_PXE_BASE_CODE_PROTOCOL;
  ...
  typedef struct _EFI_PXE_BASE_CODE_PROTOCOL _EFI_PXE_BASE_CODE;
  typedef struct EFI_PXE_BASE_CODE_PROTOCOL EFI_PXE_BASE_CODE;

Because EFI_BASE_CODE_PROTOCOL is declared with a typedef, and is
therefore in the type namespace rather than the struct namespace, this
results in EFI_PXE_BASE_CODE being a forward declaration of an
incomplete type.  The net result is that code which dereferences any
field in the struct, even with the correct names, will not correctly
build.

This patch changes both _EFI_PXE_BASE_CODE and EFI_PXE_BASE_CODE
typedefs to inherit from struct _EFI_PXE_BASE_CODE_PROTOCOL.

Signed-off-by: Peter Jones <pjones@redhat.com>
Signed-off-by: Nigel Croxon <ncroxon@redhat.com>
2018-03-14 14:50:23 -04:00
..
aarch64 Add EFI_DRIVER_ENTRY_POINT support for MSVC/ARM64 2017-11-06 09:34:14 -05:00
arm Make sure stdint.h is always used with MSVC on ARM/ARM64, since all 2017-11-06 09:26:05 -05:00
ia32 From: Pete Batard <pete@akeo.ie> 2015-09-23 10:03:31 -04:00
ia64 From: Pete Batard <pete@akeo.ie> 2015-09-23 10:03:31 -04:00
mips64el Add support for 64 bit MIPS 2017-01-08 07:04:52 -05:00
protocol The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
x86_64 x86-64/efibind: sanitize ms-abi cpp conditionals 2017-03-10 16:03:59 -05:00
efi_nii.h Update global protocol GUIDs definitions to match EDK2 2016-08-18 08:42:11 -04:00
efi_pxe.h The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
efi.h Update global protocol GUIDs definitions to match EDK2 2016-08-18 08:42:11 -04:00
efiapi.h Bridge more gaps between EDK and gnu-efi 2016-09-15 11:41:45 -04:00
eficompiler.h Commit 3dd05c and subsequent ones introduced the use of the GNU 2016-03-25 13:32:54 -04:00
eficon.h Bridge more gaps between EDK and gnu-efi 2016-09-15 11:41:45 -04:00
efidebug.h GCC 4.8 (and others) const warnings 2017-01-08 06:52:33 -05:00
efidef.h The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
efidevp.h Update global protocol GUIDs definitions to match EDK2 2016-08-18 08:42:11 -04:00
efierr.h The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
efifs.h The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
efigpt.h The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
efiip.h The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
efilib.h add-Exit - Add Exit() library function which calls BS->Exit() 2017-02-17 16:30:28 -05:00
efilink.h Fix some types gcc doesn't like 2018-03-14 14:50:22 -04:00
efinet.h Update global protocol GUIDs definitions to match EDK2 2016-08-18 08:42:11 -04:00
efipart.h The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
efipciio.h Add support for PCI Root Bridge I/O protocol. 2016-09-15 12:50:48 -04:00
efipoint.h The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
efiprot.h This typedef is already defined with the structure and can 2017-05-30 19:36:55 -04:00
efipxebc.h Fix typedef of EFI_PXE_BASE_CODE 2018-03-14 14:50:23 -04:00
efirtlib.h The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
efiser.h Update global protocol GUIDs definitions to match EDK2 2016-08-18 08:42:11 -04:00
efisetjmp.h Allow gcc to emit warnings for unsafe usage of setjmp/longjmp 2017-01-08 07:11:24 -05:00
efishellintf.h The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
efishellparm.h The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
efistdarg.h The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
efitcp.h The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
efiudp.h The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
efiui.h Update global protocol GUIDs definitions to match EDK2 2016-08-18 08:42:11 -04:00
inc.mak The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
libsmbios.h The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
make.inf The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
Makefile Enable out-of-tree building 2015-02-19 11:22:45 -05:00
makefile.hdr The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
pci22.h The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
romload.h The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00