Revision d297f464 target-cris/mmu.c
b/target-cris/mmu.c | ||
---|---|---|
30 | 30 |
#include "mmu.h" |
31 | 31 |
#include "exec-all.h" |
32 | 32 |
|
33 |
#ifdef DEBUG |
|
34 |
#define D(x) x |
|
35 |
#else |
|
33 | 36 |
#define D(x) |
37 |
#endif |
|
34 | 38 |
|
35 | 39 |
void cris_mmu_init(CPUState *env) |
36 | 40 |
{ |
... | ... | |
95 | 99 |
*dst |= val; |
96 | 100 |
} |
97 | 101 |
|
102 |
#ifdef DEBUG |
|
98 | 103 |
static void dump_tlb(CPUState *env, int mmu) |
99 | 104 |
{ |
100 | 105 |
int set; |
... | ... | |
113 | 118 |
} |
114 | 119 |
} |
115 | 120 |
} |
121 |
#endif |
|
116 | 122 |
|
117 | 123 |
/* rw 0 = read, 1 = write, 2 = exec. */ |
118 | 124 |
static int cris_mmu_translate_page(struct cris_mmu_result_t *res, |
Also available in: Unified diff