4.104.114.84.95
Last change
on this file since 8ef3818 was
8ef3818,
checked in by Joel Sherrill <joel.sherrill@…>, on 06/12/00 at 19:57:02
|
Patch from John Cotton <john.cotton@…>, Charles-Antoine Gauthier
<charles.gauthier@…>, and Darlene A. Stewart
<Darlene.Stewart@…> to add support for a number of very
significant things:
+ BSPs for many variations on the Motorola MBX8xx board series
+ Cache Manager including initial support for m68040
and PowerPC
+ Rework of mpc8xx libcpu code so all mpc8xx CPUs now use
same code base.
+ Rework of eth_comm BSP to utiltize above.
John reports this works on the 821 and 860
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | /* |
---|
2 | * mmu.h |
---|
3 | * |
---|
4 | * This include file contains definitions pertaining |
---|
5 | * to the MMU on the MPC8xx. |
---|
6 | * |
---|
7 | * Copyright (c) 1999, National Research Council of Canada |
---|
8 | * |
---|
9 | * The license and distribution terms for this file may be |
---|
10 | * found in the file LICENSE in this distribution or at |
---|
11 | * http://www.OARcorp.com/rtems/license.html. |
---|
12 | */ |
---|
13 | |
---|
14 | #ifndef __M8xx_MMU_h |
---|
15 | #define __M8xx_MMU_h |
---|
16 | |
---|
17 | #ifdef __cplusplus |
---|
18 | extern "C" { |
---|
19 | #endif |
---|
20 | |
---|
21 | #include <bsp.h> |
---|
22 | |
---|
23 | /* |
---|
24 | * The MMU_TLB_table is used to statically initialize the Table Lookaside |
---|
25 | * Buffers in the MMU of an MPC8xx. |
---|
26 | */ |
---|
27 | typedef struct { |
---|
28 | unsigned32 mmu_epn; /* Effective Page Number */ |
---|
29 | unsigned32 mmu_twc; /* Tablewalk Control Register */ |
---|
30 | unsigned32 mmu_rpn; /* Real Page Number */ |
---|
31 | } MMU_TLB_table_t; |
---|
32 | |
---|
33 | /* |
---|
34 | * The MMU_TLB_table and its size, MMU_N_TLB_Table_Entries, must be |
---|
35 | * supplied by the BSP. |
---|
36 | */ |
---|
37 | extern MMU_TLB_table_t MMU_TLB_table[]; /* MMU TLB table supplied by BSP */ |
---|
38 | extern int MMU_N_TLB_Table_Entries; /* Number of entries in MMU TLB table */ |
---|
39 | |
---|
40 | /* Functions */ |
---|
41 | |
---|
42 | void mmu_init( void ); |
---|
43 | |
---|
44 | #ifdef __cplusplus |
---|
45 | } |
---|
46 | #endif |
---|
47 | |
---|
48 | #endif |
---|
49 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.