Allows compile-time optimisation on platforms that do not wish to enable runtime checking of X2APIC. Legacy lapic_cpu_init() is incompatible so there is dependency on PARALLEL_MP. Also stop_this_cpu() is incompatible, so there is dependency on !AP_IN_SIPI_WAIT. Since the code actually lacks enablement of X2APIC (apparently assuming the blob has done it) and the other small flaws pointed out in earlier reviews, X2APIC_RUNTIME is not selected per default on any platform yet. Change-Id: I8269f9639ee3e89a2c2b4178d266ba2dac46db3f Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55073 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Wonkyu Kim <wonkyu.kim@intel.com> |
||
|---|---|---|
| .. | ||
| bist.h | ||
| cache.h | ||
| cr.h | ||
| gdt.h | ||
| lapic.h | ||
| lapic_def.h | ||
| legacy_save_state.h | ||
| mp.h | ||
| msr.h | ||
| mtrr.h | ||
| name.h | ||
| pae.h | ||
| post_code.h | ||
| save_state.h | ||
| smi_deprecated.h | ||
| smm.h | ||
| tsc.h | ||