[coreboot] [PATCH] Streamline CPU_ADDR_BITS usage

Stefan Reinauer stefan.reinauer at coresystems.de
Mon Oct 4 00:48:42 CEST 2010


 On 10/3/10 11:59 PM, Uwe Hermann wrote:
> +config CPU_ADDR_BITS_MASK
> +	hex
> +	default 0x00000000 if CPU_ADDR_BITS_32
> +	default 0x0000000f if CPU_ADDR_BITS_36
> +	default 0x000000ff if CPU_ADDR_BITS_40
> +	default 0x0000ffff if CPU_ADDR_BITS_48
> +	help
> +	  Map the number of address space bits supported by the CPU to the
> +	  mask field value as it needs to be written into the upper 32 bits
> +	  of the various MTRRphysMask_MSR MSRs.
> +
Such stuff belongs into an include file, not into Kconfig.




More information about the coreboot mailing list