diff options
Diffstat (limited to 'bsps/mips/malta/start/inittlb.c')
-rw-r--r-- | bsps/mips/malta/start/inittlb.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/bsps/mips/malta/start/inittlb.c b/bsps/mips/malta/start/inittlb.c new file mode 100644 index 0000000000..0088b98483 --- /dev/null +++ b/bsps/mips/malta/start/inittlb.c @@ -0,0 +1,27 @@ +/** + * @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.org/license/LICENSE. + */ + +#include <bsp.h> +#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); +} |