URL
https://opencores.org/ocsvn/or1k_old/or1k_old/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 1633 |
Rev 1765 |
#ifndef __68K_MMU_CONTEXT_H
|
#ifndef __68K_MMU_CONTEXT_H
|
#define __68K_MMU_CONTEXT_H
|
#define __68K_MMU_CONTEXT_H
|
|
|
#include <linux/config.h>
|
#include <linux/config.h>
|
|
|
/*
|
/*
|
* get a new mmu context.. do we need this on the m68k?
|
* get a new mmu context.. do we need this on the m68k?
|
*/
|
*/
|
#ifdef CONFIG_SHGLCORE
|
#ifdef CONFIG_SHGLCORE
|
#define get_mmu_context(x) do { \
|
#define get_mmu_context(x) do { \
|
*(volatile unsigned char *)0xfffa13 |= 0x80; /* turn off the LED */\
|
*(volatile unsigned char *)0xfffa13 |= 0x80; /* turn off the LED */\
|
} while (0)
|
} while (0)
|
#else
|
#else
|
#define get_mmu_context(x) do { } while (0)
|
#define get_mmu_context(x) do { } while (0)
|
#endif
|
#endif
|
|
|
#endif
|
#endif
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.