/* * mcfmmu.h -- definitions for the ColdFire v4e MMU * * (C) Copyright 2011, Greg Ungerer <gerg@uclinux.org> * * This file is subject to the terms and conditions of the GNU General Public * License. See the file COPYING in the main directory of this archive * for more details.
*/
#ifndef MCFMMU_H #define MCFMMU_H
/* * The MMU support registers are mapped into the address space using * the processor MMUBASE register. We used a fixed address for mapping, * there doesn't seem any need to make this configurable yet.
*/ #define MMUBASE 0xfe000000
/* * The support registers of the MMU. Names are the sames as those * used in the Freescale v4e documentation.
*/ #define MMUCR (MMUBASE + 0x00) /* Control register */ #define MMUOR (MMUBASE + 0x04) /* Operation register */ #define MMUSR (MMUBASE + 0x08) /* Status register */ #define MMUAR (MMUBASE + 0x10) /* TLB Address register */ #define MMUTR (MMUBASE + 0x14) /* TLB Tag register */ #define MMUDR (MMUBASE + 0x18) /* TLB Data register */
/* * MMU Control register bit flags
*/ #define MMUCR_EN 0x00000001 /* Virtual mode enable */ #define MMUCR_ASM 0x00000002 /* Address space mode */
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.