diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-08-10 15:32:03 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-08-13 14:00:06 +0000 |
commit | 1ef039bb4965213c87b844ca30482853fb86b418 (patch) | |
tree | 444e9b959f2ea4afee59a4abe772963d4d6c9d5b /src/cpu/x86 | |
parent | c4fdb7b923f82e31a687fc01f7176ad05ab51689 (diff) |
cpu/x86: Change old-style SMI handler prototypes
Change-Id: Ic1e3cae5298997b552020b78e6ff56d60cf22036
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34821
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/cpu/x86')
-rw-r--r-- | src/cpu/x86/smm/smihandler.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/cpu/x86/smm/smihandler.c b/src/cpu/x86/smm/smihandler.c index e4b1d6a622..7e8a9ca9de 100644 --- a/src/cpu/x86/smm/smihandler.c +++ b/src/cpu/x86/smm/smihandler.c @@ -194,9 +194,7 @@ void smi_handler(u32 smm_revision) } /* Call chipset specific SMI handlers. */ - cpu_smi_handler(node, &state_save); - northbridge_smi_handler(node, &state_save); - southbridge_smi_handler(node, &state_save); + southbridge_smi_handler(); smi_restore_pci_address(); @@ -211,12 +209,7 @@ void smi_handler(u32 smm_revision) * weak relocations w/o a symbol have a 0 address which is where the modules * are linked at. */ int __weak mainboard_io_trap_handler(int smif) { return 0; } -void __weak cpu_smi_handler(unsigned int node, - smm_state_save_area_t *state_save) {} -void __weak northbridge_smi_handler(unsigned int node, - smm_state_save_area_t *state_save) {} -void __weak southbridge_smi_handler(unsigned int node, - smm_state_save_area_t *state_save) {} +void __weak southbridge_smi_handler(void) {} void __weak mainboard_smi_gpi(u32 gpi_sts) {} int __weak mainboard_smi_apmc(u8 data) { return 0; } void __weak mainboard_smi_sleep(u8 slp_typ) {} |