Branch: refs/heads/UDK2018
  Home:   https://github.com/tianocore/edk2
  Commit: c376e657c2e6f36f757bcb66d3e328c402d4b606
      
https://github.com/tianocore/edk2/commit/c376e657c2e6f36f757bcb66d3e328c402d4b606
  Author: Liming Gao <liming....@intel.com>
  Date:   2018-02-08 (Thu, 08 Feb 2018)

  Changed paths:
    M SecurityPkg/SecurityPkg.dsc

  Log Message:
  -----------
  SecurityPkg: Don't build AuthVariableLib for EBC arch

EBC build failure is caused by d7a09cb86a0416c099fa3a9e0fbe2c8f399b28de.
It changes MAX_UINTN definition as below. AuthVariableLib uses MAX_UINTN
in the global data initialization. New style has >> operator, and not
supported by EBC compiler. The fix is not to build AuthVariableLib for EBC.

#define MAX_UINTN  ((UINTN) ~0)
==>
#define MAX_UINTN  ((UINTN)(~0ULL >> (64 - sizeof (INTN) * 8)))

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming....@intel.com>
Reviewed-by: Chao Zhang <chao.b.zh...@intel.com>
(cherry picked from commit 1662676d58cfe56ca98d2b7aab5e49c595ee4915)


  Commit: 768e193eb4d7f33cc062259552fac36431947441
      
https://github.com/tianocore/edk2/commit/768e193eb4d7f33cc062259552fac36431947441
  Author: Liming Gao <liming....@intel.com>
  Date:   2018-02-08 (Thu, 08 Feb 2018)

  Changed paths:
    M MdeModulePkg/MdeModulePkg.dsc

  Log Message:
  -----------
  MdeModulePkg: Don't build VarCheckUefiLib and DxeCore for EBC arch

EBC build failure is caused by d7a09cb86a0416c099fa3a9e0fbe2c8f399b28de.
It changes MAX_UINTN and MAX_ADDRESS definition as below. VarCheckUefiLib
and DxeCore uses MAX_UINTN and MAX_ADDRESS in the global data initialization.
New style has >> operator, and not supported by EBC compiler.
The fix is not to build VarCheckUefiLib and DxeCore for EBC arch.

#define MAX_UINTN  ((UINTN) ~0)
==>
#define MAX_UINTN  ((UINTN)(~0ULL >> (64 - sizeof (INTN) * 8)))

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming....@intel.com>
Reviewed-by: Liming Gao <liming....@intel.com>
(cherry picked from commit f1f8ce6de780ac03abdd5655560890f0b5989a41)


Compare: https://github.com/tianocore/edk2/compare/7423a642279f...768e193eb4d7
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to