[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH v3 3/5] xen/x86: introduce more cache maintenance operations



Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
---
 xen/include/asm-x86/page.h |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/xen/include/asm-x86/page.h b/xen/include/asm-x86/page.h
index 9aa780e..9103d8e 100644
--- a/xen/include/asm-x86/page.h
+++ b/xen/include/asm-x86/page.h
@@ -346,6 +346,10 @@ static inline uint32_t cacheattr_to_pte_flags(uint32_t 
cacheattr)
 
 /* No cache maintenance required on x86 architecture. */
 static inline void flush_page_to_ram(unsigned long mfn) {}
+static inline void clean_xen_dcache_va_range(const void *p, unsigned long 
size) {}
+static inline void invalidate_xen_dcache_va_range(const void *p, unsigned long 
size) {}
+static inline void clean_and_invalidate_xen_dcache_va_range
+    (const void *p, unsigned long size) {}
 
 /* return true if permission increased */
 static inline bool_t
-- 
1.7.10.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.