audk/QuarkSocPkg/QuarkNorthCluster
Michael Kinney 4be1fbc287 QuarkSocPkg/SmmCpuFeaturesLib: Add SMRR PhysBase/PhysMask fields check
SMRR range size and alignment should follow the rules like MTRR:
a. The minimum range size is 4 KBytes and the base address of the
   range must be on at least a 4-KByte boundary.
b. For ranges greater than 4 KBytes, each range must be of length
   2^n and its base address must be aligned on a 2^n boundary, where
   n is a value equal to or greater than 12. The base-address
   alignment value cannot be less than its length.
Thus, it could meet "Address_Within_Range AND PhysMask = PhysBase
AND PhysMask".

Cc: Jeff Fan <jeff.fan@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
2016-05-19 10:04:34 -07:00
..
Include QuarkSocPkg: Add new package for Quark SoC X1000 2015-12-15 19:22:23 +00:00
Library QuarkSocPkg/SmmCpuFeaturesLib: Add SMRR PhysBase/PhysMask fields check 2016-05-19 10:04:34 -07:00
MemoryInit/Pei QuarkSocPkg: Add /Oi option to let MemoryInit pass build. 2016-04-13 09:28:25 +08:00
QNCInit/Dxe QuarkSocPkg: QNCInit/Dxe: remove set but unused variables 2016-03-25 10:52:41 +01:00
S3Support/Dxe QuarkSocPkg: Add new package for Quark SoC X1000 2015-12-15 19:22:23 +00:00
Smm QuarkSocPkg: SmmControlPei: remove set but unused variables 2016-03-25 10:52:44 +01:00
Spi QuarkSocPkg: Spi/Common: remove set but unused variables 2016-03-25 10:52:46 +01:00