ShellPkg/AcpiView: PrintFormatter for FADT Flags field
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3839 Adds PrintFormatter function to the FADT flags field. Prints indivisual flag name along with flag value. Cc: Ray Ni <ray.ni@intel.com> Cc: Zhichao Gao <zhichao.gao@intel.com> Cc: Sami Mujawar <sami.mujawar@arm.com> Signed-off-by: Abdul Lateef Attar <abdattar@amd.com> Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
691b178667
commit
40004ff9d5
@ -884,7 +884,7 @@ ParseAcpiBitFields (
|
||||
}
|
||||
|
||||
// extract Bitfield data for the current item
|
||||
Data = (BitsData >> Parser[Index].Offset) & ~(~0ULL << Parser[Index].Length);
|
||||
Data = RShiftU64 (BitsData, Parser[Index].Offset) & ~(LShiftU64 (~0ULL, Parser[Index].Length));
|
||||
|
||||
if (Trace) {
|
||||
// if there is a Formatter function let the function handle
|
||||
|
Reference in New Issue
Block a user