diff options
| author | Bin Meng <[email protected]> | 2015-01-22 11:29:41 +0800 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2015-01-23 17:24:55 -0700 |
| commit | 3b621ccabdccb34891bb58865a9654a09c2b7279 (patch) | |
| tree | 8c9321d4657a4154867bd77d92d4d5dad851dbc3 /tools/microcode-tool.py | |
| parent | 49491669065c1c718d8dc0b0ebc151b3d010c17b (diff) | |
x86: Test mtrr support flag before accessing mtrr msr
On some x86 processors (like Intel Quark) the MTRR registers are not
supported. This is reflected by the CPUID (EAX 01H) result EDX[12].
Accessing the MTRR registers on such processors will cause #GP so we
must test the support flag before accessing MTRR MSRs.
Signed-off-by: Bin Meng <[email protected]>
Acked-by: Simon Glass <[email protected]>
Diffstat (limited to 'tools/microcode-tool.py')
0 files changed, 0 insertions, 0 deletions
