From 1efca4d570b9f9b684a6fc0d7bcdead8b0fcf1cf Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Wed, 17 May 2023 18:10:47 +0200 Subject: cpu/x86/smm: Drop fxsave/fxrstor logic Since we now explicitly compile both ramstage and smihandler code without floating point operations and associated registers we don't need to save/restore floating point registers. Signed-off-by: Arthur Heymans Change-Id: I180b9781bf5849111501ae8e9806554a7851c0da Reviewed-on: https://review.coreboot.org/c/coreboot/+/75317 Tested-by: build bot (Jenkins) Reviewed-by: Elyes Haouas --- src/include/cpu/x86/smm.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/include/cpu/x86/smm.h') diff --git a/src/include/cpu/x86/smm.h b/src/include/cpu/x86/smm.h index 4c97f2139b..68c7c3bba7 100644 --- a/src/include/cpu/x86/smm.h +++ b/src/include/cpu/x86/smm.h @@ -98,8 +98,6 @@ struct smm_stub_params { u32 stack_size; u32 stack_top; u32 c_handler; - u32 fxsave_area; - u32 fxsave_area_size; /* The apic_id_to_cpu provides a mapping from APIC id to CPU number. * The CPU number is indicated by the index into the array by matching * the default APIC id and value at the index. The stub loader -- cgit v1.2.3