public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Rohit Mathew" <rohit.mathew@arm.com>
To: Pierre Gondois <Pierre.Gondois@arm.com>,
	"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: Thomas Abraham <thomas.abraham@arm.com>,
	Sami Mujawar <Sami.Mujawar@arm.com>,
	James Morse <James.Morse@arm.com>, Ray Ni <ray.ni@intel.com>,
	Zhichao Gao <zhichao.gao@intel.com>, nd <nd@arm.com>
Subject: Re: [edk2-devel] [PATCH V3 3/3] ShellPkg/AcpiView: Add MPAM Parser
Date: Tue, 8 Aug 2023 17:28:30 +0000	[thread overview]
Message-ID: <AM6PR08MB3783A4E7BA5DC92ABB32EA078F0DA@AM6PR08MB3783.eurprd08.prod.outlook.com> (raw)
In-Reply-To: <AM6PR08MB378361D34A037E201A511AB28F0CA@AM6PR08MB3783.eurprd08.prod.outlook.com>

Hi Pierre

> -----Original Message-----
> From: Rohit Mathew
> Sent: Monday, August 7, 2023 1:45 PM
> To: Pierre Gondois <pierre.gondois@arm.com>; devel@edk2.groups.io
> Cc: Thomas Abraham <thomas.abraham@arm.com>; Sami Mujawar
> <Sami.Mujawar@arm.com>; James Morse <James.Morse@arm.com>; Ray Ni
> <ray.ni@intel.com>; Zhichao Gao <zhichao.gao@intel.com>; nd
> <nd@arm.com>
> Subject: RE: [edk2-devel] [PATCH V3 3/3] ShellPkg/AcpiView: Add MPAM
> Parser
> 

For this snippet

> >>> +
> >>> +    if (Status != EFI_SUCCESS) {
> >>> +      return Status;
> >>> +    }
> >>> +
> >>> +    // Reset locator to start of the locator descriptor.
> >>> +    InterconnectOffsetPtr = (UINT64 *)Locator;
> >>> +
> >>> +    // If offset field has been set, parse the interconnect description table.
> >>
> >> if ((
> >> (without extra spaces)
> >
> > [Rohit] Ack.
> >

[Rohit] I just realized that uncrustify was adding the spaces here. This is my command.
.pytool/Plugin/UncrustifyCheck/mu-uncrustify-release_extdep/Linux-x86/uncrustify -c .pytool/Plugin/UncrustifyCheck/uncrustify.cfg -F files --replace --no-backup --if-changed

> >>
> >>> +    if (  (*LocatorType == EFI_ACPI_MPAM_LOCATION_INTERCONNECT)
> >>> +       && (InterconnectOffsetPtr != NULL))
> >>> +    {
> >>> +      Status = ParseInterconnectDescriptorTable (
> >>> +                 Ptr,
> >>> +                 AcpiTableLength,
> >>> +                 Offset,
> >>> +                 *InterconnectOffsetPtr
> >>> +                 );
> >>> +
> >>> +      if (Status != EFI_SUCCESS) {
> >>> +        return Status;
> >>> +      }
> >>> +    }
> >>> +
> >>> +    ResourceIndex++;
> >>> +  }
> >>> +
> >>> +  return EFI_SUCCESS;
> >>> +}
> >>> +

Regards,
Rohit


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#107643): https://edk2.groups.io/g/devel/message/107643
Mute This Topic: https://groups.io/mt/99066188/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



      reply	other threads:[~2023-08-08 17:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-22 14:45 [PATCH V3 3/3] ShellPkg/AcpiView: Add MPAM Parser Rohit Mathew
2023-07-20 15:24 ` [edk2-devel] " PierreGondois
2023-07-24  9:50   ` Rohit Mathew
2023-07-24 14:40     ` PierreGondois
2023-07-24 16:07       ` Rohit Mathew
2023-07-25 13:55         ` PierreGondois
2023-07-31 20:14           ` Rohit Mathew
2023-08-04 11:20             ` PierreGondois
2023-08-07 12:45               ` Rohit Mathew
2023-08-08 17:28                 ` Rohit Mathew [this message]

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=AM6PR08MB3783A4E7BA5DC92ABB32EA078F0DA@AM6PR08MB3783.eurprd08.prod.outlook.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