diff options
author | Zhiguang Liu <zhiguang.liu@intel.com> | 2019-06-03 14:35:35 +0800 |
---|---|---|
committer | Hao A Wu <hao.a.wu@intel.com> | 2019-06-04 16:36:34 +0800 |
commit | 7cea4d71a8a87a93924a07ab32348332f5881ef9 (patch) | |
tree | 93e126c8ca51ef71ad17e039b0e2767728dadd9d /MdeModulePkg | |
parent | 4ff8b6b1d8b74c72fecc7bedb4d791d537eb0310 (diff) | |
download | edk2-7cea4d71a8a87a93924a07ab32348332f5881ef9.tar.gz edk2-7cea4d71a8a87a93924a07ab32348332f5881ef9.tar.bz2 edk2-7cea4d71a8a87a93924a07ab32348332f5881ef9.zip |
EmulatorPkg: don't display the cpu current speed
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1686
The bug reporter wish to display nothing as the CPU is virtual
Reviewed-by: Ray Ni <ray.ni@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Andrew Fish <afish@apple.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com>
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Application/UiApp/FrontPage.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/MdeModulePkg/Application/UiApp/FrontPage.c b/MdeModulePkg/Application/UiApp/FrontPage.c index 4b95cccb5c..fded763406 100644 --- a/MdeModulePkg/Application/UiApp/FrontPage.c +++ b/MdeModulePkg/Application/UiApp/FrontPage.c @@ -621,11 +621,6 @@ UpdateFrontPageBannerStrings ( HiiSetString (gFrontPagePrivate.HiiHandle, STRING_TOKEN (STR_FRONT_PAGE_CPU_MODEL), NewString, NULL);
FreePool (NewString);
- ConvertProcessorToString(Type4Record->CurrentSpeed, 6, &NewString);
- UiCustomizeFrontPageBanner (2, FALSE, &NewString);
- HiiSetString (gFrontPagePrivate.HiiHandle, STRING_TOKEN (STR_FRONT_PAGE_CPU_SPEED), NewString, NULL);
- FreePool (NewString);
-
FoundCpu = TRUE;
}
}
|