[coreboot] why is firmware 32 bit as opposed to 64 bit

Vladimir 'φ-coder/phcoder' Serbinenko phcoder at gmail.com
Sun Aug 10 22:02:07 CEST 2014

On 10.08.2014 21:06, John de la Garza wrote:
> I understand that the calling functions in 32 bit C uses the stack and
> this is why coreboot needs to use cache as RAM.  Doesn't 64 bit C use
> registers to pass arguments to functions?  If this is the case why not
> run in 64 bit mode?
> Also, even if cache as RAM is used and a stack is available, why not just
> build a 64 bit binary?  What are the advantages to using a 32 bit binary?
long mode (64-bit) needs paging table in RAM. So no 64-bit for preram
binary. For rest it's theoretically possible but it's too much hassle
for no benefit.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20140810/ec363b76/attachment.asc>

More information about the coreboot mailing list