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>