On Wed, 31 May 2023 at 10:56, Ni, Ray wrote:
>
> > > > > 2.
> > > > > When a memory region is marked from not-present to present,
> > PageTableLib
> > > > expects
> > > > > caller to supply all memory attributes (including RW, NX, etc.) as
> > > > > the lib
> > > > implementation doesn't
> > > >
> > > > 2.
> > > > When a memory region is marked from not-present to present,
> PageTableLib
> > > expects
> > > > caller to supply all memory attributes (including RW, NX, etc.) as the
> > > > lib
> > > implementation doesn't
> > > > want to carry any default attributes..
> > > > Do you think th
On Wed, 31 May 2023 at 09:34, Ni, Ray wrote:
>
>
>
> > -Original Message-
> > From: Ard Biesheuvel
> > Sent: Tuesday, May 30, 2023 3:32 PM
> > To: Ni, Ray
> > Cc: devel@edk2.groups.io; Yao, Jiewen ; Gerd
> > Hoffmann ; Taylor Beebe ; Oliver
> > Smith-Denny ; Bi, Dandan ;
> > Gao, Liming
> -Original Message-
> From: Ard Biesheuvel
> Sent: Tuesday, May 30, 2023 3:32 PM
> To: Ni, Ray
> Cc: devel@edk2.groups.io; Yao, Jiewen ; Gerd
> Hoffmann ; Taylor Beebe ; Oliver
> Smith-Denny ; Bi, Dandan ;
> Gao, Liming ; Kinney, Michael D
> ; Leif Lindholm ;
> Sunil V L ; Warkentin, A
On Tue, 30 May 2023 at 09:15, Ni, Ray wrote:
>
> 1.
> The PPI interface supports to set and clear any attributes with single
> invocation.
> That's much better than the existing UEFI protocol prototype which requires
> caller to call the interfaces
> twice to set and clear some attributes.
>
Ag
1.
The PPI interface supports to set and clear any attributes with single
invocation.
That's much better than the existing UEFI protocol prototype which requires
caller to call the interfaces
twice to set and clear some attributes.
So far I see two patterns for attributes setting:
*. The patten