From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtprelay.hostedemail.com (smtprelay.hostedemail.com [216.40.44.157]) by mx.groups.io with SMTP id smtpd.web09.3132.1625557598365851214 for ; Tue, 06 Jul 2021 00:46:38 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=SPF record not found (domain: sdcsystems.com, ip: 216.40.44.157, mailfrom: andy.pont@sdcsystems.com) Received: from omf17.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay01.hostedemail.com (Postfix) with ESMTP id 46182100E7B5C for ; Tue, 6 Jul 2021 07:46:36 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: andy.pont@sdcsystems.com) by omf17.hostedemail.com (Postfix) with ESMTPA id B99FA27DD30 for ; Tue, 6 Jul 2021 07:46:35 +0000 (UTC) From: "Andy Pont" To: devel@edk2.groups.io Subject: Loading EFI module from disk and handing over execution Date: Tue, 06 Jul 2021 07:46:34 +0000 Message-Id: Reply-To: "Andy Pont" User-Agent: eM_Client/8.2.1478.0 Mime-Version: 1.0 X-Spam-Status: No, score=-2.40 X-Rspamd-Server: rspamout05 X-Rspamd-Queue-Id: B99FA27DD30 X-Stat-Signature: wc753nbkb3fprpb1r5cfh6um56i5q35x X-Session-Marker: 616E64792E706F6E744073646373797374656D732E636F6D X-Session-ID: U2FsdGVkX19cXOHDtNh8yOus7TYFmB+sQD3UuPz8KXM= X-HE-Tag: 1625557595-398518 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Originally sent to the edk2-discuss list but with no response. Resending t= o the edk2-devel list as it appears to have more traffic and active users.= =0A=0AI am currently working on a project using tianocore as a payload for= coreboot and have having some problems booting Qubes.=0A=0AWhen trying to b= oot the Qubes ISO image from a USB memory stick it gives the error "Xen mus= t be loaded below 4Gb". Looking at the Xen sources it is making two checks = using the ImageBase and ImageSize values in the EFI_LOADED_IMAGE structure= . The check that is failing that generates the error is that ((ImageBase + = ImageSize) >> 32) isn't 0.=0A=0AI'm struggling to find the right part of t= he tianocore sources to see where Xen's \EFI\BOOT\BOOTX64.EFI file is read= from the USB stick to be able to see where, and how, ImageBase is setup.=0A= =0ACan anyone point me roughly in the right direction?=0A=0A-Andy.=0A=0A