EMILE/second/MMU030.h

28 lines
915 B
C
Raw Normal View History

2004-03-04 22:50:11 +00:00
/*
*
* (c) 2004,2005 Laurent Vivier <Laurent@Vivier.EU>
2004-03-04 22:50:11 +00:00
*
*/
2005-10-20 21:12:59 +00:00
extern void MMU030_disable_cache(void);
2004-03-04 22:50:11 +00:00
extern void MMU030_get_TC(unsigned long *TC);
extern void MMU030_get_SRP(unsigned long *SRP);
extern void MMU030_get_CRP(unsigned long *CRP);
extern void MMU030_get_TT0(unsigned long *TT0);
extern void MMU030_get_TT1(unsigned long *TT1);
extern int MMU030_ptest(unsigned long logical, unsigned long* physical);
extern unsigned long MMU030_read_phys(unsigned long addr);
extern void MMU030_write_phys(void *addr, unsigned long value);
extern unsigned long MMU030_get_page_size(void);
extern int MMU030_logical2physicalAttr(unsigned long logical, unsigned long *physicalAddr, unsigned long *attr);
extern int MMU030_logical2physical(unsigned long logical, unsigned long *physicalAddr);
#ifdef TRACE_MMU
extern void MMU030_set_trace(int enable);
#endif
#ifdef MMU_DUMP
extern void MMU030_dump_table();
#endif