From d3c5aeac2b393d78d81b8b1d291c21681b040d58 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Sat, 21 Apr 2018 00:34:03 -0600 Subject: [PATCH] arch/x86: remove nop padding from exception vectors Now that assembly code isn't processing the idt gates there's no need to ensure each vector entry is the same amount of code. BUG=b:72728953 Change-Id: I2b248b26b9df36d6543163762c74622f79278961 Signed-off-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/25765 Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/arch/x86/idt.S | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/arch/x86/idt.S b/src/arch/x86/idt.S index e119c32b93..9c36d81de7 100644 --- a/src/arch/x86/idt.S +++ b/src/arch/x86/idt.S @@ -62,7 +62,6 @@ vec8: /* error code */ push $8 /* vector */ jmp int_hand - .word 0x9090 vec9: push $0 /* error code */ @@ -73,31 +72,26 @@ vec10: /* error code */ push $10 /* vector */ jmp int_hand - .word 0x9090 vec11: /* error code */ push $11 /* vector */ jmp int_hand - .word 0x9090 vec12: /* error code */ push $12 /* vector */ jmp int_hand - .word 0x9090 vec13: /* error code */ push $13 /* vector */ jmp int_hand - .word 0x9090 vec14: /* error code */ push $14 /* vector */ jmp int_hand - .word 0x9090 vec15: push $0 /* error code */ @@ -113,7 +107,6 @@ vec17: /* error code */ push $17 /* vector */ jmp int_hand - .word 0x9090 vec18: push $0 /* error code */