Intel cpus: get MAXPHYADDR at runtime for new CAR
Use CPUID to get MAXPHYADDR and set MTRR masks correctly.
Also only BSP CPU clears MTRRs and initializes its Local APIC.
Signed-off-by: Kyösti Mälkki <firstname.lastname@example.org>
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <email@example.com>
Reviewed-by: Idwer Vollering <firstname.lastname@example.org>
Reviewed-by: Patrick Georgi <email@example.com>
1 file changed