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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [lib/] [libcpu/] [powerpc/] [mpc8260/] [include/] [mmu.h] - Rev 1765

Compare with Previous | Blame | View Log

/* 
 * mmu.h
 * 
 * This include file contains definitions pertaining 
 * to the MMU on the MPC8xx.
 *
 * Copyright (c) 1999, National Research Council of Canada
 *
 * The license and distribution terms for this file may be
 * found in the file LICENSE in this distribution or at
 * http://www.OARcorp.com/rtems/license.html.
 */
 
#ifndef __M8260_MMU_h
#define __M8260_MMU_h
 
#ifdef __cplusplus
extern "C" {
#endif
 
/*
 * The MMU_TLB_table is used to statically initialize the Table Lookaside
 * Buffers in the MMU of an MPC8260.
 */
typedef struct {
  unsigned32	mmu_epn;	/* Effective Page Number */
  unsigned32	mmu_twc;	/* Tablewalk Control Register */
  unsigned32	mmu_rpn;	/* Real Page Number */
} MMU_TLB_table_t;
 
/*
 * The MMU_TLB_table and its size, MMU_N_TLB_Table_Entries, must be 
 * supplied by the BSP.
 */
extern MMU_TLB_table_t MMU_TLB_table[];	/* MMU TLB table supplied by BSP */
extern int MMU_N_TLB_Table_Entries;	/* Number of entries in MMU TLB table */
 
/* Functions */
 
void mmu_init( void );
 
#ifdef __cplusplus
}
#endif
 
#endif
/* end of include file */
 

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.