public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Dot graph generator for PPTT
@ 2021-09-16 14:46 Joey Gouly
  2021-09-16 14:46 ` [PATCH v2 1/5] ShellPkg: Replace 'Trace' parameter with 'ParseFlags' Joey Gouly
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Joey Gouly @ 2021-09-16 14:46 UTC (permalink / raw)
  To: devel; +Cc: joey.gouly, sami.mujawar, ray.ni, zhichao.gao, nd

This series adds functionality to print a dot graph of a PPTT table.
This helps with understanding and debugging PPTT tables.
The dot graph generator functionality is generic and could be used by
other tables that would benefit from graph output.

Bugzilla: 3378 (https://bugzilla.tianocore.org/show_bug.cgi?id=3378)

The changes can be seen at https://github.com/jgouly/edk2/tree/1484_pptt_dot_graph_v2

Changes since v1:
  # Fixed errors found by CI
  # Rebased onto latest master branch

Marc Moisson-Franckhauser (5):
  ShellPkg: Replace 'Trace' parameter with 'ParseFlags'
  ShellPkg: add a helper function for getting a new file name
  ShellPkg: add a Graph option to the Parser Flags
  ShellPkg: add dot file generator functions
  ShellPkg: add PPTT dot file genration

 .../UefiShellAcpiViewCommandLib.inf           |   4 +-
 .../UefiShellAcpiViewCommandLib/AcpiParser.h  |  79 +++--
 .../AcpiTableParser.h                         |   6 +-
 .../UefiShellAcpiViewCommandLib/AcpiView.h    |  25 +-
 .../AcpiViewConfig.h                          |   3 +-
 .../DotGenerator.h                            | 101 +++++++
 .../AcpiTableParser.c                         |  20 +-
 .../UefiShellAcpiViewCommandLib/AcpiView.c    | 117 +++++--
 .../DotGenerator.c                            | 283 +++++++++++++++++
 .../Parsers/Bgrt/BgrtParser.c                 |  10 +-
 .../Parsers/Dbg2/Dbg2Parser.c                 |   8 +-
 .../Parsers/Dsdt/DsdtParser.c                 |   8 +-
 .../Parsers/Facs/FacsParser.c                 |  10 +-
 .../Parsers/Fadt/FadtParser.c                 |  27 +-
 .../Parsers/Gtdt/GtdtParser.c                 |   8 +-
 .../Parsers/Iort/IortParser.c                 |   8 +-
 .../Parsers/Madt/MadtParser.c                 |   8 +-
 .../Parsers/Mcfg/McfgParser.c                 |   8 +-
 .../Parsers/Pptt/PpttParser.c                 | 285 +++++++++++++++---
 .../Parsers/Rsdp/RsdpParser.c                 |  10 +-
 .../Parsers/Slit/SlitParser.c                 |   8 +-
 .../Parsers/Spcr/SpcrParser.c                 |   8 +-
 .../Parsers/Srat/SratParser.c                 |   8 +-
 .../Parsers/Ssdt/SsdtParser.c                 |   8 +-
 .../Parsers/Xsdt/XsdtParser.c                 |  10 +-
 .../UefiShellAcpiViewCommandLib.c             |  24 +-
 .../UefiShellAcpiViewCommandLib.uni           |   9 +-
 27 files changed, 914 insertions(+), 189 deletions(-)
 create mode 100644 ShellPkg/Library/UefiShellAcpiViewCommandLib/DotGenerator.h
 create mode 100644 ShellPkg/Library/UefiShellAcpiViewCommandLib/DotGenerator.c

-- 
Guid("CE165669-3EF3-493F-B85D-6190EE5B9759")


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-11-09  5:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-16 14:46 [PATCH v2 0/5] Dot graph generator for PPTT Joey Gouly
2021-09-16 14:46 ` [PATCH v2 1/5] ShellPkg: Replace 'Trace' parameter with 'ParseFlags' Joey Gouly
2021-11-09  5:46   ` Gao, Zhichao
2021-09-16 14:46 ` [PATCH v2 2/5] ShellPkg: add a helper function for getting a new file name Joey Gouly
2021-09-16 14:46 ` [PATCH v2 3/5] ShellPkg: add a Graph option to the Parser Flags Joey Gouly
2021-09-16 14:46 ` [PATCH v2 4/5] ShellPkg: add dot file generator functions Joey Gouly
2021-09-16 14:46 ` [PATCH v2 5/5] ShellPkg: add PPTT dot file genration Joey Gouly

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox