audk/MdeModulePkg/Universal/Variable/Pei
eric_tian fba0ee1f4c Fix tracker 202216:linux runtime test issue.
[Root Cause]
The root cause is that in FindVariable function, original code logic will traverse all variable stored in variable volatile/non-volatile area. If the non-variable area is full and Linux sets a new variable, the caller of GetNextVariablePtr will get the address of next memory block, but this block doesn't be reserved as RUNTIME attribute. Therefore its corresponding page translation table doesn't exist and causes linux kernel panic.

Note that, Variable Pei driver has not such issue as the flash area is accessed in pre-os environment.All page table entries are filled. The access to next memory block will not cause such issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7910 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-19 08:50:41 +00:00
..
Ipf Adjust code to fix potential array out-bound issues. 2009-02-11 07:05:43 +00:00
Variable.c Fix tracker 202216:linux runtime test issue. 2009-03-19 08:50:41 +00:00
Variable.h 1. delete Include/Guid/VariableInfo.h 2009-02-27 05:35:08 +00:00
VariablePei.inf 1. delete Include/Guid/VariableInfo.h 2009-02-27 05:35:08 +00:00
VariableWorker.c Adjust code to fix potential array out-bound issues. 2009-02-11 07:05:43 +00:00