Ram initialization and small c.

Ronald G. Minnich rminnich at lanl.gov
Tue Feb 25 18:46:00 CET 2003


On 25 Feb 2003, Jeremy Jackson wrote:

> BUT, would C's block-scope local variables allow registers to be re-used
> by different local variables, so instead of
> void func (void) {
> 	{
> 		register int ramsize;
> 		/* use ramsize */
> 	}
> 	{
> 		register int cpuid;
> 		/* use cpuid */
> 	}
> }


that should work very well.

ron




More information about the coreboot mailing list