aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorArthur Heymans <[email protected]>2019-11-18 11:19:31 +0100
committerGreg Kroah-Hartman <[email protected]>2020-01-14 21:46:48 +0100
commite4924ee263b015cc2e397ca871d870925e2673b4 (patch)
treed12c1388810f353196fc882be8a4a4a6b0250686 /scripts/gcc-plugins/randomize_layout_plugin.c
parentc6e7af0515daca800d84b9cfa1bf19e53c4f5bc3 (diff)
firmware: google: Probe for a GSMI handler in firmware
Currently this driver is loaded if the DMI string matches coreboot and has a proper smi_command in the ACPI FADT table, but a GSMI handler in SMM is an optional feature in coreboot. So probe for a SMM GSMI handler before initializing the driver. If the smihandler leaves the calling argument in %eax in the SMM save state untouched that generally means the is no handler for GSMI. Signed-off-by: Arthur Heymans <[email protected]> Signed-off-by: Patrick Rudolph <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions