> Which platform/EFI implementation are you using? Testing on an Intel Compute Stick (Cherry Trail) and QEMU+OVMF. (I'm using an older build of OVMF because recent releases fail on ia32 with an exception early in boot for me.) I'm using a custom bootloader that invokes the compat entry point. > In any case, it seems your analysis is correct, and no BSS clearing is > performed on the compat entry point boot path. So please check whether > something like the below fixes your issue as well. Confirmed that this boots successfully on both the test device and VM.