RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Macros | Functions | Variables
mmu.c File Reference

Implementation of routines to manipulate the PPC 405 mmu. More...

#include <rtems.h>
#include <rtems/bspIo.h>
#include <rtems/powerpc/powerpc.h>
#include <rtems/score/sysstate.h>
#include <inttypes.h>
#include <stdio.h>
#include <bsp/mmu.h>

Macros

#define STATIC   static
 

Functions

void bsp_mmu_dump_cache (FILE *f)
 
int bsp_mmu_update (bsp_tlb_idx_t key, bool quiet, FILE *f)
 
int bsp_mmu_initialize ()
 
bsp_tlb_idx_t bsp_mmu_find_first_free ()
 
bsp_tlb_idx_t bsp_mmu_write (bsp_tlb_idx_t idx, uint32_t ea, uint32_t pa, uint sz, uint32_t flgs, uint32_t tid)
 
bsp_tlb_idx_t bsp_mmu_match (uint32_t ea, int sz, uint32_t tid)
 
bsp_tlb_idx_t bsp_mmu_find (uint32_t ea, uint32_t tid)
 
int bsp_mmu_invalidate (bsp_tlb_idx_t key)
 

Variables

bsp_tlb_entry_tbsp_mmu_cache = 0
 

Detailed Description

Implementation of routines to manipulate the PPC 405 mmu.

   Since this is a real-time OS we want to stay away from
   software TLB replacement.