iPXE discussion forum
Build structure and UEFI - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Build structure and UEFI (/showthread.php?tid=6981)



Build structure and UEFI - Game - 2013-07-22 02:11

Hi,

Pardon me if I am wrong here, but from my understanding of UEFI, interrupt services are not supported there. Also from the ipxe code I see COM32 image format using interrupts.

Don't read further if the above was wrong!!

So my question is
1. Is bin-i386-efi a valid target - because again I think UEFI supports only 64 bit systems ?
2. If bin-i386-efi was valid, then it includes a lot of arch/i386/interface/syslinux code (COMBOOT and COM32), which it should not support (because of interrupts) ?

Thanks for the help!


RE: Build structure and UEFI - mcb30 - 2013-07-22 11:59

(2013-07-22 02:11)Game Wrote:  1. Is bin-i386-efi a valid target - because again I think UEFI supports only 64 bit systems ?

Yes, it is. There are 32-bit UEFI systems in existence, although they are rare.

Quote: 2. If bin-i386-efi was valid, then it includes a lot of arch/i386/interface/syslinux code (COMBOOT and COM32), which it should not support (because of interrupts) ?

The general build policy for iPXE is to compile as many files as possible in each build. This helps to avoid code rot: if a change is introduced which prevents the EFI code from compiling, then it will be noticed immediately since the EFI code is compiled even when building a standard PCBIOS target.

Michael


RE: Build structure and UEFI - Game - 2013-07-22 15:10

Hi Michael,
Thanks for the reply.

But UEFI still would not support COM32? And so should not be linked?

Thanks


RE: Build structure and UEFI - mcb30 - 2013-07-22 15:11

(2013-07-22 15:10)Game Wrote:  But UEFI still would not support COM32? And so should not be linked?

Correct; UEFI will not support COM32.

Michael


RE: Build structure and UEFI - robinsmidsrod - 2013-07-24 12:52

Game: And yes, even though everything is built on each compile, not everything is linked in all the time. arch/i386/* is not linked into any UEFI build, to my knowledge.