Rev 2712 | Rev 2724 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2712 | Rev 2721 | ||
---|---|---|---|
Line 107... | Line 107... | ||
107 | char *symbol; |
107 | char *symbol; |
108 | 108 | ||
109 | spinlock_lock(&exctbl_lock); |
109 | spinlock_lock(&exctbl_lock); |
110 | 110 | ||
111 | if (sizeof(void *) == 4) { |
111 | if (sizeof(void *) == 4) { |
112 | printf("Exc Description Handler Symbol\n"); |
112 | printf("Exc Description Handler Symbol\n"); |
113 | printf("--- ------------ ---------- --------\n"); |
113 | printf("--- -------------- ---------- --------\n"); |
114 | } else { |
114 | } else { |
115 | printf("Exc Description Handler Symbol\n"); |
115 | printf("Exc Description Handler Symbol\n"); |
116 | printf("--- ------------ ------------------ --------\n"); |
116 | printf("--- -------------- ------------------ --------\n"); |
117 | } |
117 | } |
118 | 118 | ||
119 | for (i = 0; i < IVT_ITEMS; i++) { |
119 | for (i = 0; i < IVT_ITEMS; i++) { |
120 | symbol = get_symtab_entry((unative_t) exc_table[i].f); |
120 | symbol = get_symtab_entry((unative_t) exc_table[i].f); |
121 | if (!symbol) |
121 | if (!symbol) |
122 | symbol = "not found"; |
122 | symbol = "not found"; |
123 | 123 | ||
124 | if (sizeof(void *) == 4) |
124 | if (sizeof(void *) == 4) |
125 | printf("%-3u %-12s %#10zx %s\n", i + IVT_FIRST, exc_table[i].name, |
125 | printf("%-3u %-14s %#10zx %s\n", i + IVT_FIRST, exc_table[i].name, |
126 | exc_table[i].f, symbol); |
126 | exc_table[i].f, symbol); |
127 | else |
127 | else |
128 | printf("%-3u %-12s %#18zx %s\n", i + IVT_FIRST, exc_table[i].name, |
128 | printf("%-3u %-14s %#18zx %s\n", i + IVT_FIRST, exc_table[i].name, |
129 | exc_table[i].f, symbol); |
129 | exc_table[i].f, symbol); |
130 | 130 | ||
131 | if (((i + 1) % 20) == 0) { |
131 | if (((i + 1) % 20) == 0) { |
132 | printf(" -- Press any key to continue -- "); |
132 | printf(" -- Press any key to continue -- "); |
133 | spinlock_unlock(&exctbl_lock); |
133 | spinlock_unlock(&exctbl_lock); |