From: Andy P. <at...@us...> - 2001-02-15 01:15:24
|
Update of /cvsroot/linux-vax/kernel-2.4/include/asm-vax/mm In directory usw-pr-cvs1:/tmp/cvs-serv30447 Added Files: cache.h Log Message: Test commit. --- NEW FILE --- #ifndef __VAX_MM_CACHE_H #define __VAX_MM_CACHE_H /* * cache.h. Definitions for cache structures/routines. * Copyright atp Jan 2001 */ /* FIXME: double check this. VAX hw ref guide pg 274 */ /* Also see flush cache arch document by D. Mosberger */ #define flush_cache_all() do { } while (0) #define flush_cache_mm(mm) do { } while (0) #define flush_cache_range(mm, start, end) do { } while (0) #define flush_cache_page(vma, vmaddr) do { } while (0) #define flush_page_to_ram(page) do { } while (0) #define flush_dcache_page(page) do { } while (0) /* Flushing the instruction cache is all-or-nothing on VAX. */ #define flush_icache_range(start, end) flush_icache() #define flush_icache_page(vma, pg) flush_icache() static inline void flush_icache(void) { /* Push a PC/PSL onto the stack so it looks like we got an interrupt, and then REI */ __asm__ ( " movpsl -(sp) \n" " pushab 1f \n" " rei \n" "1: " : : ); } #endif /* __VAX_MM_CACHE_H */ |