cpu/x86/smm: Add qemu's SMM-Revision Level
commitbacd57dfaf7b4c5d3bc5400dbd82b896d0ed23cc
authorPatrick Rudolph <siro@das-labor.org>
Sat, 23 Feb 2019 17:24:35 +0000 (23 18:24 +0100)
committerPatrick Georgi <pgeorgi@google.com>
Mon, 25 Feb 2019 11:21:53 +0000 (25 11:21 +0000)
treec75302cc41b98fc5287dbd3d0d7e9e913e558eca
parent749fe1eef9b8ed579670e0364fdb17723a7b3468
cpu/x86/smm: Add qemu's SMM-Revision Level

The SMI handler on qemu returned early, due to missing SMM-Revision
Level support.

Add the ID qemu uses, which is AMD64 compatible for qemu-system-x86_64.

Fixes booting tianocore payload with SMM variable store on qemu.

Change-Id: I978b94150cfc49a39c2a0818eb14a649850e451d
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-on: https://review.coreboot.org/c/31594
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
src/cpu/x86/smm/smihandler.c