[coreboot] [PATCH] Add support for 64bits payloads

Thomas Jourdan tjourdan at neuf.fr
Thu Aug 20 22:24:28 CEST 2009

Hi guys

This series of patches adds support for 64 bits payloads. With them, it
is possible to use a 64 bit payload. It works with old elf boot process
and new CBFS selfboot. With CBFS, when parsing the ELF, the elfclass
will be stored in a new field of the cbfs_payload structure. This field
is used later to decide or not if we need to switch to 64 bits mode
before jumping into the payload.

64 bits mode needs paging and paging needs some memory to store the page
tables. It's hardcoded and needs to be improved.

It's far from perfect and I don't think it can be included as it in the
main coreboot trunk. But it may give some ideas. 

It is required so :

Signed-off-by: Thomas Jourdan <thomas.jourdan at gmail.com>

But all the assembly code to switch to 64 bits mode is taken from the
EDK2 project (https://edk2.tianocore.org). So credits are for them.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: coreboot-v2-elf64-support.tgz
Type: application/x-compressed-tar
Size: 18873 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090820/d300488e/attachment.tgz>

More information about the coreboot mailing list