]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg PiSmmCore: Update FreePages to handle zero address and pages
authorLiming Gao <liming.gao@intel.com>
Thu, 1 Dec 2016 06:47:55 +0000 (14:47 +0800)
committerLiming Gao <liming.gao@intel.com>
Mon, 12 Dec 2016 02:52:31 +0000 (10:52 +0800)
commitddfae2640c59e6226f2a9242483b7b294edaccab
treeae94aa7fcb61e09bff800756c79dc35b6411edcb
parentd5aef955b917e1afc2a76b68f91154aa77e0e12c
MdeModulePkg PiSmmCore: Update FreePages to handle zero address and pages

https://bugzilla.tianocore.org/show_bug.cgi?id=278

Zero memory address or zero number pages are invalid to SmmFreePages().

Cc: Star Zeng <star.zeng@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
MdeModulePkg/Core/PiSmmCore/Page.c
MdeModulePkg/Core/PiSmmCore/PiSmmCore.h