Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 29619603d213faebb8a3a78020b7d59dd1621b0a
      
https://github.com/tianocore/edk2/commit/29619603d213faebb8a3a78020b7d59dd1621b0a
  Author: Rohit Mathew <rohit.mat...@arm.com>
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
    M MdePkg/Include/IndustryStandard/Acpi65.h
    A MdePkg/Include/IndustryStandard/Mpam.h

  Log Message:
  -----------
  MdePkg/IndustryStandard: Add definitions for MPAM ACPI specification

Add definitions, macros and types for elements associated with MPAM
ACPI 2.0 specification.

Signed-off-by: Rohit Mathew <rohit.mat...@arm.com>
Cc: James Morse <james.mo...@arm.com>
Cc: Liming Gao <gaolim...@byosoft.com.cn>
Cc: Michael D Kinney <michael.d.kin...@intel.com>
Cc: Sami Mujawar <sami.muja...@arm.com>
Cc: Thomas Abraham <thomas.abra...@arm.com>
Cc: Zhiguang Liu <zhiguang....@intel.com>
Acked-by: Liming Gao <gaolim...@byosoft.com.cn>
Reviewed-by: Pierre Gondois <pierre.gond...@arm.com>
Reviewed-by: Sami Mujawar <sami.muja...@arm.com>


  Commit: 107d0c380009ad3b17a1730fce264eefdd027616
      
https://github.com/tianocore/edk2/commit/107d0c380009ad3b17a1730fce264eefdd027616
  Author: Rohit Mathew <rohit.mat...@arm.com>
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.h
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Aest/AestParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Dbg2/Dbg2Parser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Einj/EinjParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Erst/ErstParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Gtdt/GtdtParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Hest/HestParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Hmat/HmatParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Hpet/HpetParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Iort/IortParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Madt/MadtParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Pcct/PcctParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Pptt/PpttParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Rsdp/RsdpParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Spcr/SpcrParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Srat/SratParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Wsmt/WsmtParser.c

  Log Message:
  -----------
  ShellPkg/AcpiView: Update field-validator prototype

As of now, the field-validator implemented by FNPTR_FIELD_VALIDATOR
function pointer takes two parameters, the pointer to the field and a
context pointer. For cases where the validator has to have access to the
length of the field, there is no clean way to currently do it. In order
to resolve this, this commit updates the field-validator's prototype to
take the length of the field as an additional parameter.

This enhancement allows field validators to perform more comprehensive
validation, especially when the length of the field is critical to the
validation logic. This change should improve the overall robustness and
flexibility of AcpiView.

Signed-off-by: Rohit Mathew <rohit.mat...@arm.com>
Cc: James Morse <james.mo...@arm.com>
Cc: Sami Mujawar <sami.muja...@arm.com>
Cc: Thomas Abraham <thomas.abra...@arm.com>
Cc: Zhichao Gao <zhichao....@intel.com>
Reviewed-by: Sami Mujawar <sami.muja...@arm.com>


  Commit: 9e865f9579004b772e36f85ae4e76484bb93b484
      
https://github.com/tianocore/edk2/commit/9e865f9579004b772e36f85ae4e76484bb93b484
  Author: Rohit Mathew <rohit.mat...@arm.com>
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.h
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Aest/AestParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Einj/EinjParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Erst/ErstParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Hest/HestParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Hmat/HmatParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Hpet/HpetParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Madt/MadtParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Srat/SratParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Wsmt/WsmtParser.c

  Log Message:
  -----------
  ShellPkg/AcpiView: Update print-formatter prototype

As of now, the print-formatter implemented by the FNPTR_PRINT_FORMATTER
function pointer takes two parameters, the format string and the pointer
to the field. For cases where the print-formatter has to have access to
the length of the field, there is no clean way to currently do it. In
order to resolve this, update the print-formatter's prototype to take
the length of the field as a third parameter. This change should improve
the overall robustness and flexibility of AcpiView.

Signed-off-by: Rohit Mathew <rohit.mat...@arm.com>
Cc: James Morse <james.mo...@arm.com>
Cc: Sami Mujawar <sami.muja...@arm.com>
Cc: Thomas Abraham <thomas.abra...@arm.com>
Cc: Zhichao Gao <zhichao....@intel.com>
Reviewed-by: Sami Mujawar <sami.muja...@arm.com>


  Commit: 8a036c89132e124ebb6852d3468e575ac289e26b
      
https://github.com/tianocore/edk2/commit/8a036c89132e124ebb6852d3468e575ac289e26b
  Author: Rohit Mathew <rohit.mat...@arm.com>
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.h

  Log Message:
  -----------
  ShellPkg: acpiview: Add routine to print 16 chars

Certain ACPI tables like MPAM has fields which are 16 bytes long.
Routines similar to Dump12Chars but for 16 characters are required to
print such fields. Add Dump16Chars routine to satisfy this requirement.

Signed-off-by: Rohit Mathew <rohit.mat...@arm.com>
Cc: James Morse <james.mo...@arm.com>
Cc: Sami Mujawar <sami.muja...@arm.com>
Cc: Thomas Abraham <thomas.abra...@arm.com>
Cc: Zhichao Gao <zhichao....@intel.com>
Reviewed-by: Pierre Gondois <pierre.gond...@arm.com>
Reviewed-by: Zhichao Gao <zhichao....@intel.com>
Reviewed-by: Sami Mujawar <sami.muja...@arm.com>


  Commit: 3c8133ba870b89f2b8d1cee05942e954a4fbb866
      
https://github.com/tianocore/edk2/commit/3c8133ba870b89f2b8d1cee05942e954a4fbb866
  Author: Rohit Mathew <rohit.mat...@arm.com>
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.h

  Log Message:
  -----------
  ShellPkg: acpiview: Add routines to print reserved fields

Most of the ACPI tables have fields that are marked reserved. Implement
functions "DumpReserved" and "DumpReservedBits" aligning with the
print-formatter prototype to print out reserved fields.

Signed-off-by: Rohit Mathew <rohit.mat...@arm.com>
Cc: James Morse <james.mo...@arm.com>
Cc: Sami Mujawar <sami.muja...@arm.com>
Cc: Thomas Abraham <thomas.abra...@arm.com>
Cc: Zhichao Gao <zhichao....@intel.com>
Reviewed-by: Sami Mujawar <sami.muja...@arm.com>


  Commit: b0e7a75a4959a481cc6b857d6e6a9607d14523bf
      
https://github.com/tianocore/edk2/commit/b0e7a75a4959a481cc6b857d6e6a9607d14523bf
  Author: Rohit Mathew <rohit.mat...@arm.com>
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.h
    A ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Mpam/MpamParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.c
    M 
ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.inf
    M 
ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.uni

  Log Message:
  -----------
  ShellPkg/AcpiView: Add MPAM Parser

Add a parser for the MPAM (Memory system resource partitioning and
monitoring) ACPI table. This parser would parse all MPAM related
structures embedded as part of the ACPI table. Necessary validations are
also performed where and when required.

Signed-off-by: Rohit Mathew <rohit.mat...@arm.com>
Cc: James Morse <james.mo...@arm.com>
Cc: Sami Mujawar <sami.muja...@arm.com>
Cc: Thomas Abraham <thomas.abra...@arm.com>
Cc: Yeo Reum Yun <yeoreum....@arm.com>
Cc: Zhichao Gao <zhichao....@intel.com>
Reviewed-by: Zhichao Gao <zhichao....@intel.com>


Compare: https://github.com/tianocore/edk2/compare/5c9b889b81f9...b0e7a75a4959

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to