diff mbox

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

Message ID 1412773221-15150-3-git-send-email-stefano.stabellini@eu.citrix.com
State New
Headers show

Commit Message

Stefano Stabellini Oct. 8, 2014, 1 p.m. UTC
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
---
 xen/include/asm-x86/page.h |    4 ++++
 1 file changed, 4 insertions(+)
diff mbox

Patch

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