source: rtems/c/src/lib/libcpu/powerpc/mpc8260/include/mmu.h @ 1ec501c

4.104.114.84.95
Last change on this file since 1ec501c was 1ec501c, checked in by Joel Sherrill <joel.sherrill@…>, on 10/22/01 at 13:42:45

2001-10-22 Andy Dachs <a.dachs@…>

  • Added mpc8260 directory.
  • Modified Makefile.am and configure.in to build the contents
  • mpc8260/Makefile.am, mpc8260/README, mpc8260/clock/Makefile.am, mpc8260/clock/clock.c, mpc8260/console-generic/Makefile.am, mpc8260/console-generic/console-generic.c, mpc8260/cpm/.cvsignore, mpc8260/cpm/Makefile.am, mpc8260/cpm/brg.c, mpc8260/cpm/cp.c, mpc8260/cpm/dpram.c, mpc8260/exceptions/.cvsignore, mpc8260/exceptions/Makefile.am, mpc8260/exceptions/asm_utils.S, mpc8260/exceptions/raw_exception.c, mpc8260/exceptions/raw_exception.h, mpc8260/include/Makefile.am, mpc8260/include/console.h, mpc8260/include/cpm.h, mpc8260/include/mmu.h, mpc8260/include/mpc8260.h, mpc8260/mmu/Makefile.am, mpc8260/mmu/mmu.c, mpc8260/timer/Makefile.am, mpc8260/timer/timer.c: New files.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1/*
2 * mmu.h
3 *
4 * This include file contains definitions pertaining
5 * to the MMU on the MPC8xx.
6 *
7 * Copyright (c) 1999, National Research Council of Canada
8 *
9 * The license and distribution terms for this file may be
10 * found in the file LICENSE in this distribution or at
11 * http://www.OARcorp.com/rtems/license.html.
12 */
13
14#ifndef __M8260_MMU_h
15#define __M8260_MMU_h
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21/*
22 * The MMU_TLB_table is used to statically initialize the Table Lookaside
23 * Buffers in the MMU of an MPC8260.
24 */
25typedef struct {
26  unsigned32    mmu_epn;        /* Effective Page Number */
27  unsigned32    mmu_twc;        /* Tablewalk Control Register */
28  unsigned32    mmu_rpn;        /* Real Page Number */
29} MMU_TLB_table_t;
30
31/*
32 * The MMU_TLB_table and its size, MMU_N_TLB_Table_Entries, must be
33 * supplied by the BSP.
34 */
35extern MMU_TLB_table_t MMU_TLB_table[]; /* MMU TLB table supplied by BSP */
36extern int MMU_N_TLB_Table_Entries;     /* Number of entries in MMU TLB table */
37
38/* Functions */
39
40void mmu_init( void );
41
42#ifdef __cplusplus
43}
44#endif
45
46#endif
47/* end of include file */
Note: See TracBrowser for help on using the repository browser.