OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [lib/] [libcpu/] [m68k/] [shared/] [cache/] [cache_.h] - Rev 1780

Go to most recent revision | Compare with Previous | Blame | View Log

/*
 *  M68K Cache Manager Support
 */
 
#ifndef __M68K_CACHE_h
#define __M68K_CACHE_h
 
#if defined(__mc68020__)
#define M68K_INSTRUCTION_CACHE_ALIGNMENT 16
#elif defined(__mc68030__)
#define M68K_INSTRUCTION_CACHE_ALIGNMENT 16
#define M68K_DATA_CACHE_ALIGNMENT 16
#elif ( defined(__mc68040__) || defined (__mc68060__) )
#define M68K_INSTRUCTION_CACHE_ALIGNMENT 16
#define M68K_DATA_CACHE_ALIGNMENT 16
#endif
 
#if defined(M68K_DATA_CACHE_ALIGNMENT)
#define CPU_DATA_CACHE_ALIGNMENT M68K_DATA_CACHE_ALIGNMENT
#endif
 
#if defined(M68K_INSTRUCTION_CACHE_ALIGNMENT)
#define CPU_INSTRUCTION_CACHE_ALIGNMENT M68K_INSTRUCTION_CACHE_ALIGNMENT
#endif
 
#include <libcpu/cache.h>
 
#endif
/* end of include file */
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.