[coreboot] [PATCH] refactor SMI handler