diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-12-02 08:48:36 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-12-02 08:48:36 +0000 |
commit | da583c807c223b6532c8cf2791057c330011964a (patch) | |
tree | fcc809dc83307fa85ab06532becbcc4795665461 /tools/examples | |
parent | 2cdc56dff4deea9438faad1013f49e9ceeaa15b2 (diff) | |
download | xen-da583c807c223b6532c8cf2791057c330011964a.tar.gz xen-da583c807c223b6532c8cf2791057c330011964a.tar.bz2 xen-da583c807c223b6532c8cf2791057c330011964a.zip |
VT-d: get rid of hardcode in iommu_flush_cache_entry
Currently iommu_flush_cache_entry uses a fixed size 8 bytes to flush
cache. But it also needs to flush caches with different sizes,
e.g. struct root_entry is 16 bytes. This patch fixes the hardcode by
using a parameter "size" to flush caches with different sizes.
Signed-off-by: Weidong Han <weidong.han@intel.com>
Diffstat (limited to 'tools/examples')
0 files changed, 0 insertions, 0 deletions