diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-10-22 13:42:45 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-10-22 13:42:45 +0000 |
commit | 1ec501c567ddc0cd377d6a14766d2306e12ccefc (patch) | |
tree | d1aa683bd72fd9a10bd8757153c0093f14f130df /c/src/lib/libcpu/powerpc/mpc8260/include/mmu.h | |
parent | 2001-10-22 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-1ec501c567ddc0cd377d6a14766d2306e12ccefc.tar.bz2 |
2001-10-22 Andy Dachs <a.dachs@sstl.co.uk>
* 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.
Diffstat (limited to 'c/src/lib/libcpu/powerpc/mpc8260/include/mmu.h')
-rw-r--r-- | c/src/lib/libcpu/powerpc/mpc8260/include/mmu.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/c/src/lib/libcpu/powerpc/mpc8260/include/mmu.h b/c/src/lib/libcpu/powerpc/mpc8260/include/mmu.h new file mode 100644 index 0000000000..45a1c697ae --- /dev/null +++ b/c/src/lib/libcpu/powerpc/mpc8260/include/mmu.h @@ -0,0 +1,47 @@ +/* + * 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 */ |