History log of /device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PpmPolicy/PpmPolicy.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4884e81b5d0da1bcc05361dd4c5fc06b3722f144 29-Jul-2016 Gary Lin <glin@suse.com> Vlv2TbltDevicePkg/PpmPolicy: Remove the unused variable

Fix the following error from gcc:

Vlv2TbltDevicePkg/PpmPolicy/PpmPolicy.c: In function ?PpmPolicyEntry?:
Vlv2TbltDevicePkg/PpmPolicy/PpmPolicy.c:50:29: error: variable ?MaxRatio? set but not used [-Werror=unused-but-set-variable]

Cc: David Wei <david.wei@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: David Wei <david.wei@intel.com>
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PpmPolicy/PpmPolicy.c
55ef35d21eea88a0785cfec47df5059945fb0f0c 29-Jul-2016 Gary Lin <glin@suse.com> Vlv2TbltDevicePkg/PpmPolicy: Remove the usage of global variables

gcc issued the error of "multiple deifintion" since gBS was also defined
in MdePkg/Library/UefiBootServicesTableLib. Actually those global variables,
gBS, pBS, and pRS, in PpmPolicy.h were only used in one function. Besides,
gBS and pRS were not really used. Remove gBS and pRS and declare pBS in
PpmPolicyEntry() to satisfy gcc.

Cc: David Wei <david.wei@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: David Wei <david.wei@intel.com>
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PpmPolicy/PpmPolicy.c
3cbfba02fef9dae07a041fdbf2e89611d72d6f90 12-Jan-2015 David Wei <david.wei@intel.com> Upload BSD-licensed Vlv2TbltDevicePkg and Vlv2DeviceRefCodePkg to

https://svn.code.sf.net/p/edk2/code/trunk/edk2/,

which are for MinnowBoard MAX open source project.


Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: David Wei <david.wei@intel.com>
Reviewed-by: Mike Wu <mike.wu@intel.com>
Reviewed-by: Hot Tian <hot.tian@intel.com>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16599 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PpmPolicy/PpmPolicy.c