as mmu.c has been rewritten (from mmu.S) in C, we need an additional include file
This commit is contained in:
@@ -24,15 +24,7 @@
|
|||||||
#ifndef _MMU_H_
|
#ifndef _MMU_H_
|
||||||
#define _MMU_H_
|
#define _MMU_H_
|
||||||
|
|
||||||
#define STD_MMUTR (MCF_MMU_MMUTR_SG | MCF_MMU_MMUTR_V)
|
#define SCA_PAGE_ID 6 /* indicates video memory page */
|
||||||
#define MMUORD_D (MCF_MMU_MMUOR_ACC | MCF_MMU_MMUOR_UAA)
|
|
||||||
#define MMUORD_I (MCF_MMU_MMUOR_ITLB | MCF_MMU_MMUOR_ACC | MCF_MMU_MMUOR_UAA)
|
|
||||||
|
|
||||||
#define WRITETHROUGH_MMUDR (MCF_MMU_MMUDR_SZ(00) | MCF_MMU_MMUDR_CM(00) | MCF_MMU_MMUDR_R | MCF_MMU_MMUDR_W | MCF_MMU_MMUDR_X)
|
|
||||||
#define COPYBACK_MMUDR (MCF_MMU_MMUDR_SZ(00) | MCF_MMU_MMUDR_CM(01) | MCF_MMU_MMUDR_R | MCF_MMU_MMUDR_W | MCF_MMU_MMUDR_X)
|
|
||||||
#define NOCACHE_PRECISE_MMUDR (MCF_MMU_MMUDR_SZ(00) | MCF_MMU_MMUDR_CM(10) | MCF_MMU_MMUDR_R | MCF_MMU_MMUDR_W | MCF_MMU_MMUDR_X)
|
|
||||||
|
|
||||||
#define SCA_PAGE_ID 6
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* global variables from linker script
|
* global variables from linker script
|
||||||
|
|||||||
Reference in New Issue
Block a user