public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* IpmiCommandLib's IpmiGetSystemUuid clarification
@ 2023-06-26 19:43 Aaron Pop
  0 siblings, 0 replies; only message in thread
From: Aaron Pop @ 2023-06-26 19:43 UTC (permalink / raw)
  To: devel

I was hoping to get a clarification on the IpmiGetSystemUuid from 
MdeModulePkg...

IPMI specification's Get Device Guid Command says that data is returned 
in "least signification byte first" and "this is the reverse of 
convention described in RFC4122".


IpmiGetSystemUuid specifies that it is returning an EFI_GUID. Does this 
mean that the IpmigetSystemUuid is going to reverse the formatting and 
return an EFI_GUID as opposed to what is directly returned from the 
Management Device?

To help clarify:


typedef struct {
   UINT32    Data1;
   UINT16    Data2;
   UINT16    Data3;
   UINT8     Data4[8];
} EFI_GUID;

vs


typedef struct {
   UINT8     Data4[8];
   UINT16    Data3;
   UINT16    Data2;
   UINT32    Data1;
} IPMI_GUID;

Thank you,
Aaron

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-06-26 19:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-26 19:43 IpmiCommandLib's IpmiGetSystemUuid clarification Aaron Pop

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox