diff options
author | Xiao Guangrong <guangrong.xiao@linux.intel.com> | 2015-06-15 16:55:32 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-06-19 17:16:28 +0200 |
commit | f7bfb57b3e89ff89c0da9f93dedab89f68d6ca27 (patch) | |
tree | a27ab306e80b1d48705a61335122f4aa30175324 /crypto | |
parent | 19efffa244071ccd0385b240d03adb38feaab04e (diff) | |
download | blackbird-op-linux-f7bfb57b3e89ff89c0da9f93dedab89f68d6ca27.tar.gz blackbird-op-linux-f7bfb57b3e89ff89c0da9f93dedab89f68d6ca27.zip |
KVM: MTRR: introduce fixed_mtrr_addr_* functions
Two functions are introduced:
- fixed_mtrr_addr_to_seg() translates the address to the fixed
MTRR segment
- fixed_mtrr_addr_seg_to_range_index() translates the address to
the index of kvm_mtrr.fixed_ranges[]
They will be used in the later patch
Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
[Adjust for range_size->range_shift change. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions