Rev 570 | Rev 619 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 570 | Rev 613 | ||
---|---|---|---|
Line 42... | Line 42... | ||
42 | tlb_tag_read_reg_t t; |
42 | tlb_tag_read_reg_t t; |
43 | 43 | ||
44 | printf("I-TLB contents:\n"); |
44 | printf("I-TLB contents:\n"); |
45 | for (i = 0; i < ITLB_ENTRY_COUNT; i++) { |
45 | for (i = 0; i < ITLB_ENTRY_COUNT; i++) { |
46 | d.value = itlb_data_access_read(i); |
46 | d.value = itlb_data_access_read(i); |
47 | t.value = itlb_tag_read(i); |
47 | t.value = itlb_tag_read_read(i); |
48 | 48 | ||
49 | printf("%d: va=%X, context=%d, v=%d, size=%X, nfo=%d, ie=%d, soft2=%X, diag=%X, pa=%X, soft=%X, l=%d, cp=%d, cv=%d, e=%d, p=%d, w=%d, g=%d\n", |
49 | printf("%d: va=%Q, context=%d, v=%d, size=%d, nfo=%d, ie=%d, soft2=%X, diag=%X, pa=%X, soft=%X, l=%d, cp=%d, cv=%d, e=%d, p=%d, w=%d, g=%d\n", |
50 | i, t.va, t.context, d.v, d.size, d.nfo, d.ie, d.soft2, d.diag, d.pa, d.soft, d.l, d.cp, d.cv, d.e, d.p, d.w, d.g); |
50 | i, t.va, t.context, d.v, d.size, d.nfo, d.ie, d.soft2, d.diag, d.pa, d.soft, d.l, d.cp, d.cv, d.e, d.p, d.w, d.g); |
51 | } |
51 | } |
52 | 52 | ||
53 | printf("D-TLB contents:\n"); |
53 | printf("D-TLB contents:\n"); |
54 | for (i = 0; i < DTLB_ENTRY_COUNT; i++) { |
54 | for (i = 0; i < DTLB_ENTRY_COUNT; i++) { |
55 | d.value = dtlb_data_access_read(i); |
55 | d.value = dtlb_data_access_read(i); |
56 | t.value = dtlb_tag_read(i); |
56 | t.value = dtlb_tag_read_read(i); |
57 | 57 | ||
58 | printf("%d: va=%X, context=%d, v=%d, size=%X, nfo=%d, ie=%d, soft2=%X, diag=%X, pa=%X, soft=%X, l=%d, cp=%d, cv=%d, e=%d, p=%d, w=%d, g=%d\n", |
58 | printf("%d: va=%Q, context=%d, v=%d, size=%d, nfo=%d, ie=%d, soft2=%X, diag=%X, pa=%X, soft=%X, l=%d, cp=%d, cv=%d, e=%d, p=%d, w=%d, g=%d\n", |
59 | i, t.va, t.context, d.v, d.size, d.nfo, d.ie, d.soft2, d.diag, d.pa, d.soft, d.l, d.cp, d.cv, d.e, d.p, d.w, d.g); |
59 | i, t.va, t.context, d.v, d.size, d.nfo, d.ie, d.soft2, d.diag, d.pa, d.soft, d.l, d.cp, d.cv, d.e, d.p, d.w, d.g); |
60 | } |
60 | } |
61 | 61 | ||
62 | } |
62 | } |