summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorNigel Croxon <ncroxon@redhat.com>2019-01-09 07:03:46 -0500
committerNigel Croxon <ncroxon@redhat.com>2019-01-09 07:03:46 -0500
commitd34132e62f666904158c7ec2f1eef5a9d5281c36 (patch)
tree8311096237ee0e8b84cf0e4e2022804572fc7995 /inc
parent5d0d538c2574dfe32e87e87ff977f2830ae2990c (diff)
downloadgnu-efi-d34132e62f666904158c7ec2f1eef5a9d5281c36.tar.gz
* Fixed typeo lib/error.c EFI_WARN_UNKNOWN_GLYPH definition.
On couple of locations in runtime string library (rtstr.c) there are calls to non-runtime variant of StrLen function. * Another issue is with formatting 1394 paths. The F1394_DEVICE_PATH::Guid is formatted as %g, but 1394 GUID is 8 byte integer, not EFI_GUID and therefore should be formatted as e.g. %016lx (as edk2 does). * Beyond what's mentioned above, changed the format of the harddrive path, so it's in line with edk2 format and spec (2.7 errata A, chapter 10.6.1.6, table 102). Signed-off-by: Nigel Croxon <ncroxon@redhat.com> Signed-off-by: manison <manison@users.sf.net>
Diffstat (limited to 'inc')
-rw-r--r--inc/efidevp.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/inc/efidevp.h b/inc/efidevp.h
index ffaf6e2..fa1a235 100644
--- a/inc/efidevp.h
+++ b/inc/efidevp.h
@@ -325,11 +325,11 @@ typedef struct _VLAN_DEVICE_PATH {
#define MSG_INFINIBAND_DP 0x09
typedef struct _INFINIBAND_DEVICE_PATH {
EFI_DEVICE_PATH_PROTOCOL Header;
- UINT32 ResourceFlags ;
- UINT64 PortGid ;
- UINT64 ServiceId ;
- UINT64 TargetPortId ;
- UINT64 DeviceId ;
+ UINT32 ResourceFlags;
+ UINT8 PortGid[16];
+ UINT64 ServiceId;
+ UINT64 TargetPortId;
+ UINT64 DeviceId;
} INFINIBAND_DEVICE_PATH;
#define MSG_UART_DP 0x0e