aboutsummaryrefslogtreecommitdiffstats
path: root/tools/python
diff options
context:
space:
mode:
authorTim Deegan <tim@xen.org>2012-11-23 11:06:14 +0000
committerTim Deegan <tim@xen.org>2012-11-23 11:06:14 +0000
commitb1f2c77ffda88e16665078e3cf5b8fd20647d1e5 (patch)
tree382e15698180d0310afc174d91f912e27f2329eb /tools/python
parent18cd92eed4d68421ecaf55469b1d00b641582d0d (diff)
downloadxen-b1f2c77ffda88e16665078e3cf5b8fd20647d1e5.tar.gz
xen-b1f2c77ffda88e16665078e3cf5b8fd20647d1e5.tar.bz2
xen-b1f2c77ffda88e16665078e3cf5b8fd20647d1e5.zip
arm: Tidy up flush_xen_dcache().
- Use a compile-time-constant check for whether we can safely flush just one cacheline. This reduces the common case from 28 instructions to three. - Pass an object to the macro, not a pointer, so we can detect attempts to flush arrays. - Decode CCSIDR correctly to get cacheline size. - Remove some redundant DSBs at the call sites. Signed-off-by: Tim Deegan <tim@xen.org> Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/python')
0 files changed, 0 insertions, 0 deletions