[LLVMdev] Idea for Google Summer Code : C Compiler for EFI Byte Code implement in LLVM

Tristan Gingold gingold at adacore.com
Fri Mar 19 06:11:21 PDT 2010


> How does EFI describe structures if the pointer size can change?  This
> shouldn't be a harder problem than C struct -> llvm struct.  I assume
> the EFI bytecode has some way to describe them.  What is it?

EFI describe structures almost like C.

There are EBC instructions that have two immediates: one for 32bits pointers and one for 64bits pointers.





More information about the llvm-dev mailing list