audk/Vlv2TbltDevicePkg
Wei, David 6ecc5d5c30 Vlv2TbltDevicePkg/FspSupport: Fix GCC build errors
Reviewed-by: David Wei <david.wei@intel.com>

Thanks,
David  Wei

-----Original Message-----
From: Gary Lin [mailto:glin@suse.com]
Sent: Thursday, August 11, 2016 4:38 PM
To: edk2-devel@lists.01.org
Cc: Wei, David <david.wei@intel.com>
Subject: [PATCH 1/4] Vlv2TbltDevicePkg/FspSupport: Fix GCC build errors

Fix the errors from GCC:

Vlv2TbltDevicePkg/FspSupport/Library/PeiFspHobProcessLibVlv2/FspHobProcessLibVlv2.c: In function 'GetMemorySizeInMemoryTypeInformation':
Vlv2TbltDevicePkg/FspSupport/Library/PeiFspHobProcessLibVlv2/FspHobProcessLibVlv2.c:59:40: error: passing argument 1 of '(*PeiServices)->GetHobList' from incompatible pointer type [-Werror=incompatible-pointer-types]
Vlv2TbltDevicePkg/FspSupport/Library/PeiFspHobProcessLibVlv2/FspHobProcessLibVlv2.c:52:31: error: variable 'Status' set but not used [-Werror=unused-but-set-variable]

Vlv2TbltDevicePkg/FspSupport/Library/PeiFspHobProcessLibVlv2/FspHobProcessLibVlv2.c: In function 'FspHobProcessForOtherData':
Vlv2TbltDevicePkg/FspSupport/Library/PeiFspHobProcessLibVlv2/FspHobProcessLibVlv2.c:401:29: error: passing argument 1 of 'PlatformHobCreateFromFsp' from incompatible pointer type [-Werror=incompatible-pointer-types]

Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/PlatformInit.c:18:30: fatal error: Library\DebugLib.h: No such file or directory
Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/PlatformInit.c:19:35: fatal error: Library\SerialPortLib.h: No such file or directory

Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/UartInit.c:18:27: fatal error: Library\IoLib.h: No such file or directory
Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/UartInit.c:19:35: fatal error: Library\SerialPortLib.h: No such file or directory

Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/UartInit.c: In function 'EnableInternalUart':
Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/UartInit.c:195:20: error: pointer targets in passing argument 1 of 'SerialPortWrite' differ in signedness [-Werror=pointer-sign]

Cc: David Wei <david.wei@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
2016-08-17 17:49:28 +08:00
..
AcpiPlatform Vlv2TbltDevicePkg/AcpiPlatform: Amend the declaration of mGlobalNvsArea 2016-08-03 11:02:17 +08:00
Application/FirmwareUpdate Vlv2TbltDevicePkg: Convert all .uni files to utf-8 2015-12-15 04:59:37 +00:00
BootScriptSaveDxe Upload BSD-licensed Vlv2TbltDevicePkg and Vlv2DeviceRefCodePkg to 2015-01-12 09:37:20 +00:00
FspAzaliaConfigData Upload BSD-licensed Vlv2TbltDevicePkg and Vlv2DeviceRefCodePkg to 2015-01-12 09:37:20 +00:00
FspSupport Vlv2TbltDevicePkg/FspSupport: Fix GCC build errors 2016-08-17 17:49:28 +08:00
FvInfoPei Upload BSD-licensed Vlv2TbltDevicePkg and Vlv2DeviceRefCodePkg to 2015-01-12 09:37:20 +00:00
FvbRuntimeDxe Vlv2TbltDevicePkg/FvbRuntimeDxe: Remove unused variables 2016-08-03 16:09:44 +08:00
Include Vlv2DeviceRefCodePkg&Vlv2TbltDevicePkg:Add setup option of LPE Audio. 2016-06-21 11:20:54 +08:00
IntelGopDepex Upload BSD-licensed Vlv2TbltDevicePkg and Vlv2DeviceRefCodePkg to 2015-01-12 09:37:20 +00:00
Library Vlv2TbltDevicePkg/PlatformBdsLib: Remove the unused variable 2016-08-03 11:02:14 +08:00
Logo Upload BSD-licensed Vlv2TbltDevicePkg and Vlv2DeviceRefCodePkg to 2015-01-12 09:37:20 +00:00
Metronome Upload BSD-licensed Vlv2TbltDevicePkg and Vlv2DeviceRefCodePkg to 2015-01-12 09:37:20 +00:00
MonoStatusCode Upload BSD-licensed Vlv2TbltDevicePkg and Vlv2DeviceRefCodePkg to 2015-01-12 09:37:20 +00:00
Override/IntelFrameworkModulePkg/Library/GenericBdsLib Vlv2TbltDevicePkg: Convert all .uni files to utf-8 2015-12-15 04:59:37 +00:00
PciPlatform Sync the branch changes to trunk. 2015-06-11 02:50:20 +00:00
PlatformCpuInfoDxe Upload BSD-licensed Vlv2TbltDevicePkg and Vlv2DeviceRefCodePkg to 2015-01-12 09:37:20 +00:00
PlatformDxe Vlv2TbltDevicePkg/PlatformDxe: Remove the unused variables 2016-08-03 11:08:31 +08:00
PlatformGopPolicy Vlv2TbltDevicePkg/PlatformGopPolicy: include UefiBootServicesTableLib.h 2016-08-03 11:02:18 +08:00
PlatformInfoDxe Sync the branch changes to trunk. 2015-06-11 02:50:20 +00:00
PlatformInitPei Vlv2TbltDevicePkg/PlatformInitPei: Suppress the gcc error message 2016-08-03 11:02:15 +08:00
PlatformPei Vlv2TbltDevicePkg/PlatformPei: Remove the unused variable 2016-08-03 11:02:13 +08:00
PlatformSetupDxe Vlv2TbltDevicePkg/PlatformSetupDxe: Remove the unused variables 2016-08-03 11:08:29 +08:00
PlatformSmm Sync the branch changes to trunk. 2015-06-11 02:50:20 +00:00
PpmPolicy Vlv2TbltDevicePkg/PpmPolicy: Remove the unused variable 2016-08-03 11:08:34 +08:00
SaveMemoryConfig Vlv2TbltDevicePkg: Sync the branch changes to trunk. 2015-08-04 02:55:02 +00:00
SmBiosMiscDxe Vlv2TbltDevicePkg/SmBiosMiscDxe: Remove unused variables 2016-08-03 11:08:32 +08:00
SmmSwDispatch2OnSmmSwDispatchThunk Upload BSD-licensed Vlv2TbltDevicePkg and Vlv2DeviceRefCodePkg to 2015-01-12 09:37:20 +00:00
SmramSaveInfoHandlerSmm Fixed potential security issue introduced by SmramCpuNvs variable. 2015-06-23 07:22:23 +00:00
Stitch Vlv2TbltDevicePkg: Sync the branch changes to Trunk, 2015-11-13 02:38:08 +00:00
UiApp Upload BSD-licensed Vlv2TbltDevicePkg and Vlv2DeviceRefCodePkg to 2015-01-12 09:37:20 +00:00
VlvPlatformInitDxe Vlv2TbltDevicePkg/VlvPlatformInitDxe: Remove unused variables 2016-08-03 11:08:30 +08:00
Wpce791 Vlv2TbltDevicePkg/Wpce791: Remove the unused variable 2016-08-03 11:08:31 +08:00
BfmLib.exe Upload BSD-licensed Vlv2TbltDevicePkg and Vlv2DeviceRefCodePkg to 2015-01-12 09:37:20 +00:00
BiosIdD.env Vlv2TbltDevicePkg: Sync the branch changes to Trunk, 2015-11-13 02:38:08 +00:00
BiosIdR.env Vlv2TbltDevicePkg: Sync the branch changes to Trunk, 2015-11-13 02:38:08 +00:00
BiosIdx64D.env Vlv2TbltDevicePkg: Sync the branch changes to Trunk, 2015-11-13 02:38:08 +00:00
BiosIdx64R.env Vlv2TbltDevicePkg: Sync the branch changes to Trunk, 2015-11-13 02:38:08 +00:00
Build_IFWI.bat Vlv2TbltDevicePkg: Sync the branch changes to Trunk, 2015-11-12 08:33:12 +00:00
Build_IFWI.sh Vlv2TbltDevicePkg: Sync the branch changes to Trunk, 2015-11-12 08:33:12 +00:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
FCE.exe Sync the branch changes to trunk. 2015-06-11 02:50:20 +00:00
GenBiosId Clean up GCC build. 2015-02-26 06:49:31 +00:00
GenBiosId.exe Upload BSD-licensed Vlv2TbltDevicePkg and Vlv2DeviceRefCodePkg to 2015-01-12 09:37:20 +00:00
License.txt Vlv2*Pkg: Add License.txt 2015-02-03 17:28:56 +00:00
PlatformPkg.dec Vlv2TbltDevicePkg:Change UNIX to DOS format. 2016-06-21 11:30:09 +08:00
PlatformPkg.fdf Vlv2TbltDevicePkg:Add PiSmmCommunication&PiSmmCpuDxeSmm of UefiCpuPkg. 2016-06-30 10:58:53 +08:00
PlatformPkgConfig.dsc Sync the branch changes to trunk. 2015-05-08 03:13:37 +00:00
PlatformPkgGcc.fdf Vlv2TbltDevicePkg:Add PiSmmCommunication&PiSmmCpuDxeSmm of UefiCpuPkg. 2016-06-30 10:58:53 +08:00
PlatformPkgGccX64.dsc Vlv2TbltDevicePkg: Only define MDEPKG_NDEBUG for gcc release build 2016-08-03 11:02:12 +08:00
PlatformPkgIA32.dsc Vlv2TbltDevicePkg:Add PiSmmCommunication&PiSmmCpuDxeSmm of UefiCpuPkg. 2016-06-30 10:58:53 +08:00
PlatformPkgX64.dsc Vlv2TbltDevicePkg:Add PiSmmCommunication&PiSmmCpuDxeSmm of UefiCpuPkg. 2016-06-30 10:58:53 +08:00
bldX64.bat Upload BSD-licensed Vlv2TbltDevicePkg and Vlv2DeviceRefCodePkg to 2015-01-12 09:37:20 +00:00
bld_vlv.bat Sync the branch changes to trunk. 2015-06-11 02:50:20 +00:00
bld_vlv.sh Vlv2TbltDevicePkg: Amend the build script 2016-08-03 11:02:11 +08:00
cln.sh Clean up GCC build. 2015-02-26 06:49:31 +00:00