On Mon, Apr 03, 2023 at 05:28:14PM +0800, Zhiguang Liu wrote:
> Use a macro USE_5_LEVEL_PAGE_TABLE to determine whether to create
> 5 level page table. Whether creating it or not, the highest level
> page table address is fixed.

Can we create the 5level page table unconditionally?

We should have the PML5 table @ fixed at 4G - 12k and the PML4 table
fixed at 4G - 16k then.  Then ideally check processor capabilities and
decide at runtime whenever to use 4level or 5level paging.

thanks,
  Gerd



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


Reply via email to