Rev 2724 | Rev 3055 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2724 | Rev 2745 | ||
|---|---|---|---|
| Line 101... | Line 101... | ||
| 101 | } |
101 | } |
| 102 | 102 | ||
| 103 | /** kconsole cmd - print all exceptions */ |
103 | /** kconsole cmd - print all exceptions */ |
| 104 | static int exc_print_cmd(cmd_arg_t *argv) |
104 | static int exc_print_cmd(cmd_arg_t *argv) |
| 105 | { |
105 | { |
| - | 106 | #if (IVT_ITEMS > 0) |
|
| 106 | unsigned int i; |
107 | unsigned int i; |
| 107 | char *symbol; |
108 | char *symbol; |
| 108 | 109 | ||
| 109 | spinlock_lock(&exctbl_lock); |
110 | spinlock_lock(&exctbl_lock); |
| 110 | 111 | ||
| Line 136... | Line 137... | ||
| 136 | printf("\n"); |
137 | printf("\n"); |
| 137 | } |
138 | } |
| 138 | } |
139 | } |
| 139 | 140 | ||
| 140 | spinlock_unlock(&exctbl_lock); |
141 | spinlock_unlock(&exctbl_lock); |
| - | 142 | #endif |
|
| 141 | 143 | ||
| 142 | return 1; |
144 | return 1; |
| 143 | } |
145 | } |
| 144 | 146 | ||
| 145 | static cmd_info_t exc_info = { |
147 | static cmd_info_t exc_info = { |