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:
qhuang8
2006-06-19 07:40:23 +00:00
parent f014786935
commit cd14fe3dcf
22 changed files with 404 additions and 115 deletions

View File

@@ -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