diff options
author | Jennifer Averett <jennifer.averett@OARcorp.com> | 2012-04-04 12:21:15 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-04-04 12:21:15 -0500 |
commit | a36d1b435808d6daef1a9641c8ab707e5feeb7c8 (patch) | |
tree | ffe4bbe855277b306fd731613260dabc90cc974f /c/src/lib/libbsp/mips/malta/startup/inittlb.c | |
parent | PR 1993 - Convert MIPS to PIC IRQ model (diff) | |
download | rtems-a36d1b435808d6daef1a9641c8ab707e5feeb7c8.tar.bz2 |
Add MIPS/Malta BSP.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/mips/malta/startup/inittlb.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/mips/malta/startup/inittlb.c b/c/src/lib/libbsp/mips/malta/startup/inittlb.c new file mode 100644 index 0000000000..413783c211 --- /dev/null +++ b/c/src/lib/libbsp/mips/malta/startup/inittlb.c @@ -0,0 +1,26 @@ +/** + * @file + */ + +/* + * COPYRIGHT (c) 1989-2012. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + */ + +#include <rtems/mips/idtcpu.h> + +extern void resettlb( int i ); + +void init_tlb(void); + +void init_tlb(void) +{ + int i; + + for (i = 0; i < N_TLB_ENTRIES; i++ ) + resettlb(i); +} |