Rev 1757 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1757 | Rev 1780 | ||
---|---|---|---|
Line 107... | Line 107... | ||
107 | char *symbol; |
107 | char *symbol; |
108 | 108 | ||
109 | spinlock_lock(&exctbl_lock); |
109 | spinlock_lock(&exctbl_lock); |
110 | printf("Exc Description Handler\n"); |
110 | printf("Exc Description Handler\n"); |
111 | for (i=0; i < IVT_ITEMS; i++) { |
111 | for (i=0; i < IVT_ITEMS; i++) { |
112 | symbol = get_symtab_entry((__native)exc_table[i].f); |
112 | symbol = get_symtab_entry((unative_t)exc_table[i].f); |
113 | if (!symbol) |
113 | if (!symbol) |
114 | symbol = "not found"; |
114 | symbol = "not found"; |
115 | printf("%d %s %.*p(%s)\n", i + IVT_FIRST, exc_table[i].name, |
115 | printf("%d %s %.*p(%s)\n", i + IVT_FIRST, exc_table[i].name, |
116 | sizeof(__address) * 2, exc_table[i].f,symbol); |
116 | sizeof(uintptr_t) * 2, exc_table[i].f,symbol); |
117 | if (!((i+1) % 20)) { |
117 | if (!((i+1) % 20)) { |
118 | printf("Press any key to continue."); |
118 | printf("Press any key to continue."); |
119 | spinlock_unlock(&exctbl_lock); |
119 | spinlock_unlock(&exctbl_lock); |
120 | getc(stdin); |
120 | getc(stdin); |
121 | spinlock_lock(&exctbl_lock); |
121 | spinlock_lock(&exctbl_lock); |