fix FBCS (not ready for burst mode yet)

This commit is contained in:
Markus Fröschle
2017-05-16 05:57:05 +00:00
parent 1981b8dfd5
commit bb672ece92
4 changed files with 17 additions and 3 deletions

View File

@@ -480,6 +480,15 @@ void mmu_init(void)
pages[i].execute = 0;
pages[i].global = 1;
}
else if (addr >= 0xfff00000UL && addr <= 0xffffffffUL) /* Falcon I/O area on the Firebee */
{
pages[i].cache_mode = CACHE_NOCACHE_PRECISE;
pages[i].supervisor_protect = 1;
pages[i].read = 1;
pages[i].write = 1;
pages[i].execute = 0;
pages[i].global = 1;
}
else if (addr >= 0x0UL && addr < 0x00e00000UL) /* ST-RAM, potential video memory */
{
pages[i].cache_mode = CACHE_WRITETHROUGH;