> +
> +      ParentPagingEntry->Uintn = (UINTN)(VOID *)PagingEntry;

Only address field is set but attributes are cleared to zeros.
Then following code sets the attributes.
Still a hole at this point, right?

> 
>        //
>        // Set NOP attributes
> @@ -363,12 +370,6 @@ PageTableLibMapInLevel (
>        //       will make the entire region read-only even the child entries 
> set the
> RW bit.
>        //
>        PageTableLibSetPnle (&ParentPagingEntry->Pnle, &NopAttribute,
> &AllOneMask);






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


Reply via email to