aboutsummaryrefslogtreecommitdiffstats
path: root/tools/examples
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-12-02 08:48:36 +0000
committerKeir Fraser <keir.fraser@citrix.com>2009-12-02 08:48:36 +0000
commitda583c807c223b6532c8cf2791057c330011964a (patch)
treefcc809dc83307fa85ab06532becbcc4795665461 /tools/examples
parent2cdc56dff4deea9438faad1013f49e9ceeaa15b2 (diff)
downloadxen-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