Re: [edk2-devel] [Patch V2 10/14] UefiCpuPkg/CpuPageTableLib: Modify RandomTest to check IsModified

2023-03-15 Thread duntan
Thanks for the comments. I'll split this patch and remove the unneeded 'if' condition check. Thanks, Dun -Original Message- From: Ni, Ray Sent: Wednesday, March 15, 2023 2:09 PM To: Tan, Dun ; devel@edk2.groups.io Cc: Dong, Eric ; Kumar, Rahul R ; Gerd Hoffmann ; Liu, Zhiguang

Re: [edk2-devel] [Patch V2 10/14] UefiCpuPkg/CpuPageTableLib: Modify RandomTest to check IsModified

2023-03-15 Thread Ni, Ray
> >GenerateSingleRandomMapEntry (MaxAddress, MapEntrys); >Status = PageTableParse (*PageTable, PagingMode, NULL, ); > > + if (MapCount != 0) { > +// > +// Allocate memory for Map > +// Note the memory is only used in this one Single MapEntry Test > +// > +

[edk2-devel] [Patch V2 10/14] UefiCpuPkg/CpuPageTableLib: Modify RandomTest to check IsModified

2023-03-08 Thread duntan
Modify RandomTest to check if parameter IsModified of PageTableMap() correctlly indicates whether input page table is modified or not. Signed-off-by: Dun Tan Cc: Eric Dong Cc: Ray Ni Cc: Rahul Kumar Cc: Gerd Hoffmann Cc: Zhiguang Liu ---