modified to map memory dynamically based on a static memory map

This commit is contained in:
Markus Fröschle
2014-01-18 08:04:44 +00:00
parent 5412297687
commit 6d0643b885
3 changed files with 55 additions and 6 deletions

View File

@@ -56,11 +56,22 @@
#define SCA_PAGE_ID 6 /* indicates video memory page */
/*
* MMU page sizes
*/
#define MMU_PAGE_SIZE_1M 0
#define MMU_PAGE_SIZE_4K 1
#define MMU_PAGE_SIZE_8K 2
#define MMU_PAGE_SIZE_1K 3
/*
* MMU cache modes
*/
#define MMU_CACHE_WRITETHROUGH 0
#define MMU_CACHE_COPYBACK 1
#define MMU_CACHE_NOCACHE_PRECISE 2
#define MMU_CACHE_NOCACHE_IMPRECISE 3
/*
* global variables from linker script
*/