cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

mtd-xip.h (520B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2/*
      3 * MTD primitives for XIP support. Architecture specific functions
      4 *
      5 * Do not include this file directly. It's included from linux/mtd/xip.h
      6 * 
      7 * Author:	Nicolas Pitre
      8 * Created:	Nov 2, 2004
      9 * Copyright:	(C) 2004 MontaVista Software, Inc.
     10 */
     11
     12#ifndef __ARM_MTD_XIP_H__
     13#define __ARM_MTD_XIP_H__
     14
     15#include <mach/mtd-xip.h>
     16
     17/* fill instruction prefetch */
     18#define xip_iprefetch() 	do { asm volatile (".rep 8; nop; .endr"); } while (0)
     19
     20#endif /* __ARM_MTD_XIP_H__ */