From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web11.1498.1687808636284578581 for ; Mon, 26 Jun 2023 12:43:56 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=BlaCNSQB; spf=pass (domain: linux.microsoft.com, ip: 13.77.154.182, mailfrom: aaronpop@linux.microsoft.com) Received: from [192.168.1.202] (ip72-199-172-9.sd.sd.cox.net [72.199.172.9]) by linux.microsoft.com (Postfix) with ESMTPSA id B20D621C4275 for ; Mon, 26 Jun 2023 12:43:55 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com B20D621C4275 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1687808635; bh=wiu7hwoness92+JKse5cIlGAPnF9X0skRAZx6XZUOkg=; h=Date:From:Subject:To:From; b=BlaCNSQBk1RBcVTqnNJ2keqK9egGsysgM+6CWZFqfg53lO4XNBLf7fwRBMh7LoI3b ODNw84fpa6t3nF2SwW0htjD3RMBpZhUzPnGOK4TKBM/BWEZx70wkZe4WSgB/LyyvLk XTre+G7bVc3rhBjIWTeacJOAMRfxdw3A0d+O+ycw= Message-ID: <370171eb-5fd3-449c-b44a-5d0ef747f57c@linux.microsoft.com> Date: Mon, 26 Jun 2023 12:43:53 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 From: "Aaron Pop" Subject: IpmiCommandLib's IpmiGetSystemUuid clarification To: devel@edk2.groups.io Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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