more conversion to C

This commit is contained in:
Markus Fröschle
2014-02-02 22:27:10 +00:00
parent fe5b7d466d
commit 25f66ae7f9
2 changed files with 16 additions and 17 deletions

View File

@@ -236,7 +236,21 @@ void pic_interrupt_handler(void)
void video_addr_timeout(void)
{
uint32_t addr;
dbg("%s:\r\n", __FUNCTION__);
flush_and_invalidate_cashes();
do
{
MCF_MMU_MMUAR = addr;
MCF_MMU_MMUOR =
MCF_MMU_MMUOR_STLB |
MCF_MMU_MMUOR_RW |
MCF_MMU_MMUOR_ACC;
NOP();
} while (1);
}
extern int32_t video_sbt;