summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2020-05-28 21:21:49 -0600
committerAaron Durbin <adurbin@chromium.org>2020-06-02 16:09:58 +0000
commitfa5eded303ac25c95ca4300ebfb4788c149bf2ab (patch)
tree2baed17b0f6e99b449c6ac93b81314cc633c4a45 /src/arch/x86
parenta21eae0441209d596fd39ad6f394136c87b9ff91 (diff)
cpu/x86/mtrr: add helper for setting multiple MTRRs
Introduce concept of var_mtrr_context object for tracking and assigning MTRR values. The algorithm is lifted from postcar_loader code, but it's generalized for different type of users: setting MSRs explicitly or deferring to a particular caller's desired actions. BUG=b:155426691,b:155322763 Change-Id: Ic03b4b617196f04071093bbba4cf28d23fa482d8 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41849 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/arch/x86')
0 files changed, 0 insertions, 0 deletions