summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/mips/malta/startup/inittlb.c
blob: 0088b984835641d464e5bad9c0459a4489f0a805 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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);
}