1. PostCodeLib.
Rename BasePostCodeLib80 to BasePostCodeLibPort80. Fix typos in macro POST_CODE() and POST_CODE_WITH_DESCRIPTION() 2. DebugLib Change the parameter type of LineNumber of DebugAssert() from “INTN” to “UINTN” to follow MWG. Add type cast “(EFI_GUID *)” in macro ASSERT_PROTCOL_ALREADY_INSTALLED () to follow MWG. 3. BasePeCoffLib/ Add library function header for all the interfaces in MWG. Add missing ASSERT()s. 4. PciLib Add ASSERT()s in PciRead/WriteBuffer() to check cross PCI function access. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@557 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -125,7 +125,7 @@ PostCodeDescriptionEnabled (
|
||||
@return Value
|
||||
|
||||
**/
|
||||
#define POST_CODE(Value) ReportPostCodeEnabled() ? PostCode(Value) : Value
|
||||
#define POST_CODE(Value) PostCodeEnabled() ? PostCode(Value) : Value
|
||||
|
||||
/**
|
||||
Sends an 32-bit value to a POST and associated ASCII string.
|
||||
@@ -141,8 +141,8 @@ PostCodeDescriptionEnabled (
|
||||
|
||||
**/
|
||||
#define POST_CODE_WITH_DESCRIPTION(Value,Description) \
|
||||
ReportPostCodeEnabled() ? \
|
||||
(ReportPostCodeDescriptionEnabled() ? \
|
||||
PostCodeEnabled() ? \
|
||||
(PostCodeDescriptionEnabled() ? \
|
||||
PostCodeWithDescription(Value,Description) : \
|
||||
PostCode(Value)) : \
|
||||
Value
|
||||
|
Reference in New Issue
Block a user