MdeModulePkg changes
--------------------
Allow reusing functions by other packages, specifically by
DasharoPayloadPkg.
* Move GetStringWidth() to CustomizedDisplayLib.
* Move CreateMultiStringPopUp() to CustomizedDisplayLib
CreateSharedPopUp() is an implementation of it and is moved as well
(not used for anything else).
DasharoPayloadPkg changes
----------------------
Parse coreboot information about recovery boot and display a dialog
using functions moved to CustomizedDisplayLib library of MdeModulePkg.
* Add ParseVBootWorkbuf() function
Extracts information about vboot recovery from coreboot table.
Ignore minor version of cb_vboot_workbuf_v2 while parsing because it
doesn't seem to affect data layout and therefore shouldn't be the
reason for aborting parsing of the structure.
* Inform user via popup if in recovery boot.
The popup explains what happened along with possible reasons.
It disappears automatically after a timeout of 30 seconds or
when user presses Enter.
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
1. Do not use tab characters
2. No trailing white space in one line
3. All files must end with CRLF
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Display engine base on class opcode to detect whether in
front page.Now remove class/subclass and use FormsetGuid
or ClassGuid to judge whether in front page
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17590 6f19259b-4bc3-4df7-8a09-765794883524