]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg MTRR Library: enhance MTRR Library.
authorrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 20 Sep 2011 07:36:11 +0000 (07:36 +0000)
committerrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 20 Sep 2011 07:36:11 +0000 (07:36 +0000)
commit1e60a0ecfc8a2fc5f8b48052141e89a93c40f67f
treeab4c9d44cdc4f58694f5dc24cb4b3fa23b1d6c66
parent89a90ae648e1c230bde94f0d5c76d7ddcb21c445
UefiCpuPkg MTRR Library: enhance MTRR Library.

When it finds that a request range is covered by an existing MTRR with same cache type, the MTRR library set a flag and continues to check other MTRRs and invalidate any MTRR of the same request range with a higher-priority cache type.

Signed-off-by: rsun3
Reviewed-by: gxing
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12388 6f19259b-4bc3-4df7-8a09-765794883524
UefiCpuPkg/Library/MtrrLib/MtrrLib.c