]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg: Refine the code to reduce time cost of 'map -r'
authorQiu Shumin <shumin.qiu@intel.com>
Tue, 8 Dec 2015 02:00:16 +0000 (02:00 +0000)
committershenshushi <shenshushi@Edk2>
Tue, 8 Dec 2015 02:00:16 +0000 (02:00 +0000)
commite9fc53878117779eeb35715666573d307e069380
treec0f0bc53e8bb7a86f26442cfda380be84e3a7ef3
parentfb48e7780e1e0e0a7702ed8772e68150a9f8d10e
ShellPkg: Refine the code to reduce time cost of 'map -r'

In some platform 'map -r' may cost more than 1 min. This patch filter the target handles by
BlockIO and SimpleFileSystem protocol to reduce the time cost.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19149 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg/Library/UefiShellCommandLib/ConsistMapping.c