Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: cae974bea25a3193360390af0b405488a19e1e15
      
https://github.com/tianocore/edk2/commit/cae974bea25a3193360390af0b405488a19e1e15
  Author: Tomas Pilar <[email protected]>
  Date:   2020-06-30 (Tue, 30 Jun 2020)

  Changed paths:
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiView.c

  Log Message:
  -----------
  ShellPkg/AcpiView: Move log reset to main method

The error and warning counters are reset in the AcpiView main method.
This improves reusability of the main method.

Cc: Ray Ni <[email protected]>
Cc: Zhichao Gao <[email protected]>
Reviewed-by: Zhichao Gao <[email protected]>
Signed-off-by: Tomas Pilar <[email protected]>


  Commit: e18ac66d84e68387dbbe4fd8761b8f3a889534a9
      
https://github.com/tianocore/edk2/commit/e18ac66d84e68387dbbe4fd8761b8f3a889534a9
  Author: Tomas Pilar <[email protected]>
  Date:   2020-06-30 (Tue, 30 Jun 2020)

  Changed paths:
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiTableParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiView.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiView.h
    A ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiViewConfig.c
    A ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiViewConfig.h
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Gtdt/GtdtParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Iort/IortParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Madt/MadtParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Pptt/PpttParser.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Srat/SratParser.c
    M 
ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.inf

  Log Message:
  -----------
  ShellPkg/AcpiView: Refactor configuration

A new file and header (AcpiViewConfig.[ch]) is created
that houses the user configuration. This declutters the
core code and improves modularity of the design.

The module level symbols for verbosity, table selection, and
highlighting are refactored into the new file.

Cc: Ray Ni <[email protected]>
Cc: Zhichao Gao <[email protected]>
Reviewed-by: Zhichao Gao <[email protected]>
Signed-off-by: Tomas Pilar <[email protected]>


  Commit: e46e3040fc3b39dcade8b88cdc02565ff6b26374
      
https://github.com/tianocore/edk2/commit/e46e3040fc3b39dcade8b88cdc02565ff6b26374
  Author: Tomas Pilar <[email protected]>
  Date:   2020-06-30 (Tue, 30 Jun 2020)

  Changed paths:
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiView.c

  Log Message:
  -----------
  ShellPkg/AcpiView: Move table count reset

The table count module level symbols are now reset when
executing the core method, rather than the shell command
wrapper.

Cc: Ray Ni <[email protected]>
Cc: Zhichao Gao <[email protected]>
Reviewed-by: Zhichao Gao <[email protected]>
Signed-off-by: Tomas Pilar <[email protected]>


  Commit: 422fe85cc3109684c81990911c79dc18d1828d96
      
https://github.com/tianocore/edk2/commit/422fe85cc3109684c81990911c79dc18d1828d96
  Author: Tomas Pilar <[email protected]>
  Date:   2020-06-30 (Tue, 30 Jun 2020)

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

  Log Message:
  -----------
  ShellPkg/AcpiView: Move parameter parsing

Parsing command line parameters is done in the shell
command wrapper. This declutters the core code and improves
modular design.

Cc: Ray Ni <[email protected]>
Cc: Zhichao Gao <[email protected]>
Reviewed-by: Zhichao Gao <[email protected]>
Signed-off-by: Tomas Pilar <[email protected]>


  Commit: d45cf5ffdf65f6bfdde64886746d81a69ae31bf4
      
https://github.com/tianocore/edk2/commit/d45cf5ffdf65f6bfdde64886746d81a69ae31bf4
  Author: Tomas Pilar <[email protected]>
  Date:   2020-06-30 (Tue, 30 Jun 2020)

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

  Log Message:
  -----------
  ShellPkg/AcpiView: Refactor DumpAcpiTableToFile

Method is refactored into two parts. A new method is
created that dumps arbitrary buffers into a newly created
file. This method is called from core code after the core code
determined the appropriate filename to be used.

This improves the modular design.

Cc: Ray Ni <[email protected]>
Cc: Zhichao Gao <[email protected]>
Reviewed-by: Zhichao Gao <[email protected]>
Signed-off-by: Tomas Pilar <[email protected]>


  Commit: db77d8f7ee9490138d853c4fb06e7a1e14a49148
      
https://github.com/tianocore/edk2/commit/db77d8f7ee9490138d853c4fb06e7a1e14a49148
  Author: Tomas Pilar <[email protected]>
  Date:   2020-06-30 (Tue, 30 Jun 2020)

  Changed paths:
    A ShellPkg/Include/Library/AcpiViewCommandLib.h
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiView.c
    M ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.c
    R ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.h
    M 
ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.inf
    M ShellPkg/ShellPkg.dec
    M ShellPkg/ShellPkg.dsc

  Log Message:
  -----------
  ShellPkg: Add AcpiViewCommandLib

The UefiShellAcpiViewCommandLib is converted from NULL library to a
named library so that it may be used in modules other than shell.
The library interface exposes the main method for to AcpiView
functionality as well as a helper method to dump a buffer to a file.

The Shell module is still built by pulling UefiShellAcpiViewCommandLib
as a NULL library to preserve the modularity of shell builds.

Cc: Ray Ni <[email protected]>
Cc: Zhichao Gao <[email protected]>
Reviewed-by: Zhichao Gao <[email protected]>
Signed-off-by: Tomas Pilar <[email protected]>


  Commit: 00217f1919270007d7a911f89b32e39b9dcaa907
      
https://github.com/tianocore/edk2/commit/00217f1919270007d7a911f89b32e39b9dcaa907
  Author: Tomas Pilar <[email protected]>
  Date:   2020-06-30 (Tue, 30 Jun 2020)

  Changed paths:
    A ShellPkg/Application/AcpiViewApp/AcpiViewApp.c
    A ShellPkg/Application/AcpiViewApp/AcpiViewApp.inf
    A ShellPkg/Application/AcpiViewApp/AcpiViewApp.uni
    M ShellPkg/ShellPkg.dsc

  Log Message:
  -----------
  ShellPkg/AcpiView: Add application wrapper

Simple application wrapper that invokes the shell
command wrapper for 'acpiview'.

This allows the AcpiView functionality to be used
on platforms with older specifications of the UEFI
shell or where the 'acpiview' command is not built in
due to platform build configuration.

Furthermore, this app can be integrated into more comprehensive
testing frameworks as a single component of a more thorough
specification compliance validation strategy.

Cc: Ray Ni <[email protected]>
Cc: Zhichao Gao <[email protected]>
Reviewed-by: Zhichao Gao <[email protected]>
Signed-off-by: Tomas Pilar <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/0f01cec52f47...00217f191927


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to