mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-22 10:29:31 +00:00
Add MMU_set_trace()
This commit is contained in:
parent
91878eb9a5
commit
b08f2f1525
@ -11,6 +11,7 @@ void get_SRP(unsigned long *SRP);
|
|||||||
void get_CRP(unsigned long *CRP);
|
void get_CRP(unsigned long *CRP);
|
||||||
void get_TT0(unsigned long *TT0);
|
void get_TT0(unsigned long *TT0);
|
||||||
void get_TT1(unsigned long *TT1);
|
void get_TT1(unsigned long *TT1);
|
||||||
|
int ptest(unsigned long logical, unsigned long* physical);
|
||||||
unsigned long read_phys(unsigned long addr);
|
unsigned long read_phys(unsigned long addr);
|
||||||
void write_phys(void *addr, unsigned long value);
|
void write_phys(void *addr, unsigned long value);
|
||||||
|
|
||||||
@ -19,6 +20,10 @@ void write_phys(void *addr, unsigned long value);
|
|||||||
extern unsigned long get_page_size(void);
|
extern unsigned long get_page_size(void);
|
||||||
extern int logical2physicalAttr(unsigned long logical, unsigned long *physicalAddr, unsigned long *attr);
|
extern int logical2physicalAttr(unsigned long logical, unsigned long *physicalAddr, unsigned long *attr);
|
||||||
extern int logical2physical(unsigned long logical, unsigned long *physicalAddr);
|
extern int logical2physical(unsigned long logical, unsigned long *physicalAddr);
|
||||||
|
#define TRACE_MMU
|
||||||
|
#ifdef TRACE_MMU
|
||||||
|
extern void MMU_set_trace(int enable);
|
||||||
|
#endif
|
||||||
#ifdef MMU_DUMP
|
#ifdef MMU_DUMP
|
||||||
extern void dump_MMU_table();
|
extern void dump_MMU_table();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user