The current structure can lead to dependency on VC++ compiler support
functions when build for "IA32" with "/Od" switch, such as _aullshr().
So change the type of parameters in structure
PCI_SEGMENT_LIB_ADDRESS_STRUCTURE from UINT64 to UINT32.
https://bugzilla.tianocore.org/show_bug.cgi?id=1532
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
#include "PciSegmentLibCommon.h"\r
\r
typedef struct {\r
- UINT64 Register : 12;\r
- UINT64 Function : 3;\r
- UINT64 Device : 5;\r
- UINT64 Bus : 8;\r
- UINT64 Reserved1 : 4;\r
- UINT64 Segment : 16;\r
- UINT64 Reserved2 : 16;\r
+ UINT32 Register : 12;\r
+ UINT32 Function : 3;\r
+ UINT32 Device : 5;\r
+ UINT32 Bus : 8;\r
+ UINT32 Reserved1 : 4;\r
+ UINT32 Segment : 16;\r
+ UINT32 Reserved2 : 16;\r
} PCI_SEGMENT_LIB_ADDRESS_STRUCTURE;\r
\r
/**\r