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.

Change-Id: I89ee765a17ec7c041284ed402f21d9a969d699bd
Signed-off-by: Kyösti Mälkki <>
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <>
Reviewed-by: Idwer Vollering <>
Reviewed-by: Patrick Georgi <>
1 file changed