public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Aaron Pop" <aaronpop@linux.microsoft.com>
To: devel@edk2.groups.io
Subject: IpmiCommandLib's IpmiGetSystemUuid clarification
Date: Mon, 26 Jun 2023 12:43:53 -0700	[thread overview]
Message-ID: <370171eb-5fd3-449c-b44a-5d0ef747f57c@linux.microsoft.com> (raw)

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

                 reply	other threads:[~2023-06-26 19:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=370171eb-5fd3-449c-b44a-5d0ef747f57c@linux.microsoft.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox