]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg: acpiview: GTDT: Remove redundant forward declarations
authorKrzysztof Koch <krzysztof.koch@arm.com>
Fri, 19 Jul 2019 01:05:01 +0000 (18:05 -0700)
committerJaben Carsey <jaben.carsey@intel.com>
Fri, 19 Jul 2019 15:33:03 +0000 (08:33 -0700)
commit2a219e196d7cf6d6df5a6e8856549607e9c0e5ef
treeb1480309e7e5940390874eb6df97f453af51fac8
parent795e706f745670724c2aaf94e99236b0172aed05
ShellPkg: acpiview: GTDT: Remove redundant forward declarations

Remove redundant forward function declarations by repositioning
blocks of code. This way the code structure is consistent across
ACPI table parsers and the code becomes more concise.

Replace multple use of literal values for GT Block Timer Frame
count/number validation with a macro definition.

Signed-off-by: Krzysztof Koch <krzysztof.koch@arm.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Gtdt/GtdtParser.c