RTEMS  5.0.0
Macros | Functions | Variables
mmu.c File Reference

Implementation of routines to manipulate the PPC 440 MMU. More...

#include <rtems.h>
#include <rtems/bspIo.h>
#include <rtems/powerpc/powerpc.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, int sz, uint32_t flgs, uint32_t tid, uint32_t ts, uint32_t erpn)
 
bsp_tlb_idx_t bsp_mmu_match (uint32_t ea, int sz, uint32_t tid, uint32_t ts)
 
bsp_tlb_idx_t bsp_mmu_find (uint32_t ea, uint32_t tid, uint32_t ts)
 
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 440 MMU.

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