2) Change EFI_FVB_ATTRIBUTE to EFI_FVB2_ATTRIBUTE, As Zimmer, Vincent’s PI1.0 errata document said, in PI we need use EFI_FVB2_ATTRIBUTE to differ the specification change.
3) Remove duplicate definition of SERIAL_MODE, PARALLEL_MODE in Include\Framework\Legacy16.h
4) Remove EFI_FV_FILE_ATTRIB_FIXED and EFI_FV_FILE_ATTRIB_ALIGNMENT from IntelFrameworkPkg\Include\Protocol\FirmwareVolume.h, because they defined in PI specification.
5) Remove EFI_FORM_LABEL from IntelFrameworkPkg\Include\Protocol\HiiFramework.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3333
6f19259b-4bc3-4df7-8a09-
765794883524
PeCoffGetEntryPoint|$(WORKSPACE)/MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
PeCoffLib|$(WORKSPACE)/MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
PerformanceLib|$(WORKSPACE)/MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
- PostCodeLib|$(WORKSPACE)/MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.inf\r
- PostCodeLib|$(WORKSPACE)/MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf\r
+ #PostCodeLib|$(WORKSPACE)/MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.inf\r
+ #PostCodeLib|$(WORKSPACE)/MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf\r
PrintLib|$(WORKSPACE)/MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
TimerLib|$(WORKSPACE)/MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
UefiDecompressLib|$(WORKSPACE)/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
PciIncompatibleDeviceSupportLib|$(WORKSPACE)/IntelFrameworkModulePkg/Library/PciIncompatibleDeviceSupportLib/PciIncompatibleDeviceSupportLib.inf\r
IoLib|${WORKSPACE}/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
\r
-\r
[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
HobLib|$(WORKSPACE)/MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
MemoryAllocationLib|$(WORKSPACE)/MdePkg/Library/DxeMemoryAllocationLib/DxeMemoryAllocationLib.inf\r
// EFI_TO_COMPATIBILITY16_BOOT_TABLE\r
///////////////////////////////////////////////////////////////////////////////\r
\r
-typedef UINT8 SERIAL_MODE;\r
-typedef UINT8 PARALLEL_MODE;\r
-\r
//\r
// DEVICE_PRODUCER_SERIAL & its modes\r
//\r
IN OUT EFI_FV_ATTRIBUTES *Attributes\r
);\r
\r
-typedef UINT32 EFI_FV_FILE_ATTRIBUTES;\r
-\r
-#define EFI_FV_FILE_ATTRIB_ALIGNMENT 0x0000001F\r
-\r
/**\r
Read the requested file (NameGuid) and returns data in Buffer.\r
\r
//\r
// The following types are currently defined:\r
//\r
-typedef UINT16 EFI_FORM_ID;\r
typedef UINT16 EFI_FORM_LABEL;\r
\r
#pragma pack(1)\r
#define EFI_FV_FILE_ATTRIB_FIXED 0x00000100\r
#define EFI_FV_FILE_ATTRIB_MEMORY_MAPPED 0x00000200\r
\r
-typedef UINT32 EFI_FVB_ATTRIBUTES;\r
+typedef UINT32 EFI_FVB2_ATTRIBUTES;\r
\r
// \r
// Attributes bit definitions\r
EFI_GUID FileSystemGuid;\r
UINT64 FvLength;\r
UINT32 Signature;\r
- EFI_FVB_ATTRIBUTES Attributes;\r
+ EFI_FVB2_ATTRIBUTES Attributes;\r
UINT16 HeaderLength;\r
UINT16 Checksum;\r
UINT16 ExtHeaderOffset;\r
\r
**/\r
typedef struct {\r
- EFI_FVB_ATTRIBUTES FvAttributes;\r
+ EFI_FVB2_ATTRIBUTES FvAttributes;\r
EFI_GUID FvFormat;\r
EFI_GUID FvName;\r
VOID *FvStart;\r
unsigned long _outpd (unsigned short port, unsigned long dataword );\r
void _ReadWriteBarrier (void);\r
\r
+#ifdef _MSC_VER\r
#pragma intrinsic(_inp)\r
#pragma intrinsic(_inpw)\r
#pragma intrinsic(_inpd)\r
#pragma intrinsic(_outpw)\r
#pragma intrinsic(_outpd)\r
#pragma intrinsic(_ReadWriteBarrier)\r
-\r
+#endif \r
//\r
// _ReadWriteBarrier() forces memory reads and writes to complete at the point\r
// in the call. This is only a hint to the compiler and does emit code.\r