RTEMS
7.0-rc1
Loading...
Searching...
No Matches
bsps
powerpc
include
mpc8260
mmu.h
1
/* SPDX-License-Identifier: GPL-2.0+-with-RTEMS-exception */
2
3
/*
4
* mmu.h
5
*
6
* This include file contains definitions pertaining
7
* to the MMU on the MPC8xx.
8
*
9
* Copyright (c) 1999, National Research Council of Canada
10
*
11
* The license and distribution terms for this file may be
12
* found in the file LICENSE in this distribution or at
13
* http://www.rtems.org/license/LICENSE.
14
*/
15
16
#ifndef _MPC8260_MMU_H
17
#define _MPC8260_MMU_H
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
22
23
/*
24
* The MMU_TLB_table is used to statically initialize the Table Lookaside
25
* Buffers in the MMU of an MPC8260.
26
*/
27
typedef
struct
{
28
uint32_t mmu_epn;
/* Effective Page Number */
29
uint32_t mmu_twc;
/* Tablewalk Control Register */
30
uint32_t 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 */
MMU_TLB_table_t
Definition:
mmu.h:27
Generated by
1.9.6