On Mon, Jul 18, 2022 at 09:18:22PM +0800, Ni, Ray wrote:
> The lib includes two APIs:
> * PageTableMap
>   It creates/updates mapping from LA to PA.
>   The implementation only supports paging structures used in 64bit
>   mode now. PAE paging structure support will be added in future.
> 
> * PageTableParse
>    It parses the page table and returns the mapping relations in an
>   array of IA32_MAP_ENTRY.
> 
> It passed some stress tests. These test code will be upstreamed in
> other patches following edk2 Unit Test framework.

Nice to finally see the paging library arrive.

What is the plan for splitting huge pages?  I remember several places
needed that functionality.  Will the library get functions for that in
the future?  Or is the plan to hide that from callers, i.e. have
PageTableMap() automatically create huge pages if possible and split
them if needed?

thanks,
  Gerd



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


Reply via email to