audk/MdeModulePkg/Bus
Feng Tian 5966dd8ff2 MdeModulePkg/UfsPassThru: Fix wrong GLOBAL_REMOVE_IF_UNREFERENCED usage
GLOBAL_REMOVE_IF_UNREFERENCED means __declspec(selectany) for MS tool
chain IA32/X64 build.

According to MSDN, "selectany" would tell the compiler that the declared
global data item (variable or object) is a pick-any COMDAT (a packaged
function). At link time, if multiple definitions of a COMDAT are seen,
the linker picks one and discards the rest.

So we have to remove GLOBAL_REMOVE_IF_UNREFERENCED key word from two global
variable's extern definitions of .h file as we have used this keyword in
.c file, otherwise the MS tool chain would pick the definitions in .h file
and treat it as uninitialized data to generate full-0 content for these two
global variables.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18088 6f19259b-4bc3-4df7-8a09-765794883524
2015-07-28 02:47:52 +00:00
..
Ata MdeModulePkg/AtaBus: remove TPer Reset operation in DriverBindingStart 2015-06-26 08:42:17 +00:00
I2c/I2cDxe MdePkg, MdeModulePkg: Remove EFI_ABORTED from I2C protocols per PI spec 1.4. 2015-05-08 07:30:45 +00:00
Isa/IsaBusDxe MdeModulePkg: Refine the format of INF file. 2015-06-05 03:22:08 +00:00
Pci MdeModulePkg/XhciPei: Error handling enhancement for XhcPeiExecTransfer 2015-07-08 05:54:44 +00:00
Scsi MdeModulePkg: fix some issues in ScsiDisk to co-work with UFS stack 2015-04-29 02:44:42 +00:00
Ufs MdeModulePkg/UfsPassThru: Fix wrong GLOBAL_REMOVE_IF_UNREFERENCED usage 2015-07-28 02:47:52 +00:00
Usb MdeModulePkg/UsbBotPei: Add RecoveryBlockIo2Ppi support 2015-05-20 06:31:28 +00:00