diff options
author | Krzysztof Koch <krzysztof.koch@arm.com> | 2019-01-23 02:58:11 -0800 |
---|---|---|
committer | Jaben Carsey <jaben.carsey@intel.com> | 2019-01-24 08:15:52 -0800 |
commit | d4d2fdf2ab9f276e17ae3e0cdd099931e108a5cc (patch) | |
tree | 8838f11e10ebe6ba2f2877bf3edbaf5c12ff5c9e /ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.h | |
parent | 25290435a277c4f94a65a0b6213ad1e5b2c69a53 (diff) | |
download | edk2-d4d2fdf2ab9f276e17ae3e0cdd099931e108a5cc.tar.gz edk2-d4d2fdf2ab9f276e17ae3e0cdd099931e108a5cc.tar.bz2 edk2-d4d2fdf2ab9f276e17ae3e0cdd099931e108a5cc.zip |
ShellPkg/UefiShellAcpiViewCommandLib: Add support for PPTT
Added the acpiview parser for the PPTT table.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Krzysztof Koch <krzysztof.koch@arm.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Diffstat (limited to 'ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.h')
-rw-r--r-- | ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.h | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.h b/ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.h index ecf7dae903..a42450c143 100644 --- a/ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.h +++ b/ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.h @@ -1,7 +1,7 @@ /** @file
Header file for ACPI parser
- Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.
+ Copyright (c) 2016 - 2019, ARM Limited. All rights reserved.
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -656,6 +656,27 @@ ParseAcpiMcfg ( );
/**
+ This function parses the ACPI PPTT table.
+ When trace is enabled this function parses the PPTT table and
+ traces the ACPI table fields.
+
+ This function also performs validation of the ACPI table fields.
+
+ @param [in] Trace If TRUE, trace the ACPI fields.
+ @param [in] Ptr Pointer to the start of the buffer.
+ @param [in] AcpiTableLength Length of the ACPI table.
+ @param [in] AcpiTableRevision Revision of the ACPI table.
+**/
+VOID
+EFIAPI
+ParseAcpiPptt (
+ IN BOOLEAN Trace,
+ IN UINT8* Ptr,
+ IN UINT32 AcpiTableLength,
+ IN UINT8 AcpiTableRevision
+ );
+
+/**
This function parses the ACPI RSDP table.
This function invokes the parser for the XSDT table.
|