1) Add DebugMask.h that defines the GUID and Protocol used by the "err" EFI Shell command to get/set the global mask and get/set the module scoped masks
2) Add DxeDebugPrintErrorLevelLib that provide an implementation of the DebugPrintErrorLevbel library classes that uses the GUID and Protocol defined in DebugMask.h to "err" EFI Shell compatibility.
3) Add default mapping for the DebugPrintErrirLevelLib to the DSC file for this package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11366 6f19259b-4bc3-4df7-8a09-765794883524
1) Define new DebugPrintErrorLevelLib that produces an API that DebugPrint() APIs in DebugLib implementations can use to retrieve the current mask for filtering DebugPrint() statements.
2) Add a BASE type implementation of the DebugPrintErrorLevelLib that directly accessed PcdDebugPrintErrorLevel to provide backward compatibility with the current EDK II DebugLib behavior.
3) Update description of the DebugPrint() API in the DebugLib to describe the new dependency on the DebugPrintErrorLevelLib that replaces the prior dependency in the PcdDebugPrintErrorLevel PCD.
4) Update the comments in BaseDebugLibNull to match (3).
5) Update BaseDebugLibSerialPort to use DebugPrintErrorLevelLib instead of the PcdDebugPrintErrorLevel PCD.
6) Update UefiDebugLinConOut to use DebugPrintErrorLevelLib instead of the PcdDebugPrintErrorLevel PCD.
7) Update UefiDebugLibStdErr to use DebugPrintErrorLevelLib instead of the PcdDebugPrintErrorLevel PCD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11365 6f19259b-4bc3-4df7-8a09-765794883524
2. Also, the clean old string action used save attribute with paint string action which makes the background show abnormal. Now using the normal attribute to clean the old string.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11359 6f19259b-4bc3-4df7-8a09-765794883524
1. Support Scroll up and down. When hit the top, the last page will be showed. When hit the bottom, the first page will be showed.
2. Show forms page by page based on the option (including unselected and selected).
3. Add PCD to configure whether TEXT statement is set to Grayout option.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11355 6f19259b-4bc3-4df7-8a09-765794883524
When the menu is refresh type, and the old string is longer than new string, after refresh, some old string will still show.
The mainly change is:
1. This change cleans the old string first and then paints the new string.
2. Fixed old code checks grayout flag not correct.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11354 6f19259b-4bc3-4df7-8a09-765794883524
UnixPkg/UnixSnpDxe is currently BSD/OS X specific.
Therefore we only build it if "-D NETWORK_SUPPORT"
is used on the build command line.
UnixPkg/build.sh and UnixPkg/build64.sh are updated to
automatically define NETWORK_SUPPORT if building on OS X.
<net/if_dl.h> and <net/bpf.h> are also only included in
UnixPkg/Include/Common/UnixInclude.h if __APPLE__ is defined.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11346 6f19259b-4bc3-4df7-8a09-765794883524
In the default case we use FatBinPkg from the edk2 tree.
"-D COMPILE_BINS" can be used on the command line if FatPkg
is present and needs to be built.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11345 6f19259b-4bc3-4df7-8a09-765794883524
The "Configuration Changed. Reset to apply it now?" screen does not show up after restoring setup values to default using the F9 hot-key.
RootCause:
gResetRequired flag was not set after default value restored
Solution:
Set gResetRequired flag to TRUE after default setup values are restored.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11340 6f19259b-4bc3-4df7-8a09-765794883524
Use the parameter” LEFT_SKIPPED_COLUMNS” to adjust the position from the beginning of the line to the beginning of the menu string.
The arrow position and the beginning of the menu string are fixed in one block space.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11327 6f19259b-4bc3-4df7-8a09-765794883524
Notes:
1. This patch is an incompatible change for the binary image built based on previous EDKII code. But, it is a compatible change for source.
2. This change will make StatusCode related definition in MdePkg to align the one defined in EcpPkg. Then, EDK driver based on EcpPkg can work together EDKII core.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11316 6f19259b-4bc3-4df7-8a09-765794883524