Hi,

> On real X64 hardware you can’t be in 64-bit mode without pageables,
> and you can’t put pageables in the ROM. Thus PEI ends up being IA32
> (i386) and this usually means the DXE Core gets loaded < 4 GiB, and
> the initial memory map for DXE is memory < 4 GiB.

Well, to exact there are two variants, one with PEI being IA32
(OvmfPkgIa32X64.dsc) and the other with PEI being X64 (OvmfPkgX64.dsc).
The latter does page table setup and switch to long mode in ResetVector
code.

But, yes, on both cases the firmware volume with PEI+DXE ends up being
loaded below 4 GiB.

take care,
  Gerd



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#84126): https://edk2.groups.io/g/devel/message/84126
Mute This Topic: https://groups.io/mt/87342733/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to