summaryrefslogtreecommitdiff
path: root/tests/include
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-09-19 17:52:11 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-09-20 18:17:27 +0000
commit1663d188f3620a1c10ca5b4e9784d7dc225483f8 (patch)
treef3a1e5067ddd0ef57382755cea8e5b94e4f9c313 /tests/include
parent94b91c3ebb2b51958c1984934ed202463212d5fd (diff)
cpu/x86/mtrr/debug: make local MSR variables const
In the functions the local MSR variables are only written once by rdmsr calls at the beginning of the function and then only read, so those can be made const. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I1be6a5158c0c06abe128e9394d6001c40a8d4cbb Reviewed-on: https://review.coreboot.org/c/coreboot/+/78004 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Diffstat (limited to 'tests/include')
0 files changed, 0 insertions, 0 deletions