efi: Decode IA32/X64 Context Info structure
authorYazen Ghannam <yazen.ghannam@amd.com>
Fri, 4 May 2018 05:59:56 +0000 (07:59 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 14 May 2018 06:57:48 +0000 (08:57 +0200)
commit9c178663cbf2e754be322505078306b4a380a697
tree94ce5c646e9b6ff050d03922d0969f14357f19b7
parenta32bc29ed19776ef6827d6336847de9a0b7a8dc5
efi: Decode IA32/X64 Context Info structure

Print the fields of the IA32/X64 Context Information structure.

Print the "Register Array" as raw values. Some context types are defined
in the UEFI spec, so more detailed decoded may be added in the future.

Based on UEFI 2.7 section N.2.4.2.2 IA32/X64 Processor Context
Information Structure.

Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Matt Fleming <matt@codeblueprint.co.uk>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-efi@vger.kernel.org
Link: http://lkml.kernel.org/r/20180504060003.19618-11-ard.biesheuvel@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/firmware/efi/cper-x86.c