[coreboot] [commit] r5897 - trunk/src/cpu/via/car

Patrick Georgi patrick at georgi-clan.de
Sat Oct 2 13:04:38 CEST 2010


Am 02.10.2010 11:33, schrieb Warren Turkal:
> Stefan,
> 
> Is there a technical reason to split the logical "or" considering that
> the values constants that are known at compile time? It seems like the
> additional orl could be avoided by how the code was before?
> 
> BTW, I am asking to learn, not because I think it's wrong.
With the bootblock, it's not known at compile time - it's resolved at
link time:
- first it's compiled
- then linked at a harmless address (maybe 0? not sure)
- then the size is determined, and a new offset is calculated
- then it's linked again, at the new offset


Patrick




More information about the coreboot mailing list