[LinuxBIOS] Disabled device help

Segher Boessenkool segher at kernel.crashing.org
Mon Nov 6 19:26:15 CET 2006


> -				res->end |= (unsigned long)szhi<<32;
> +				res->end |= ((unsigned
> long)szhi<<32|0xffffffffUL);

Should read

	res->end |= ((uint64_t)szhi << 32) | 0xffffffff;

("long" is 32-bits on many platforms).


Segher





More information about the coreboot mailing list