coreboot/src/security/intel
Felix Held 1b46e76df9 include/cpu/x86/msr: introduce IA32_MC_*(x) macros
When accessing the MCA MSRs, the MCA bank number gets multiplied by 4
and added to the IA32_MC0_* define to get the MSR number. Add a macro
that already does this calculation to avoid open coding this repeatedly.

Change-Id: I2de753b8c8ac8dcff5a94d5bba43aa13bbf94b99
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56243
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2021-07-14 02:24:39 +00:00
..
cbnt Makefile.inc: Fix IFITTOOL dependencies 2021-07-07 14:51:22 +00:00
stm src/security/intel/stm: Add warning for non-reproducible build 2021-05-12 15:13:37 +00:00
txt include/cpu/x86/msr: introduce IA32_MC_*(x) macros 2021-07-14 02:24:39 +00:00
Kconfig sec/intel/cbnt: Stitch in ACMs in the coreboot image 2020-11-10 06:17:24 +00:00
Makefile.inc sec/intel/cbnt: Stitch in ACMs in the coreboot image 2020-11-10 06:17:24 +00:00