Changeset 2829b354 in mainline for kernel/arch/amd64/src/interrupt.c
- Timestamp:
- 2007-11-15T16:24:20Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e686744c
- Parents:
- bcfd586
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/interrupt.c
rbcfd586 r2829b354 67 67 /* uint64_t *x = &istate->stack[0]; */ 68 68 69 if (!(symbol =get_symtab_entry(istate->rip)))69 if (!(symbol = get_symtab_entry(istate->rip))) 70 70 symbol = ""; 71 71 72 printf("-----EXCEPTION(%d) OCCURED----- ( %s )\n", n, __func__);73 printf("%%rip: %#llx (%s)\n", istate->rip, symbol);72 printf("-----EXCEPTION(%d) OCCURED----- ( %s )\n", n, __func__); 73 printf("%%rip: %#llx (%s)\n", istate->rip, symbol); 74 74 printf("ERROR_WORD=%#llx\n", istate->error_word); 75 printf("%%rcs=%#llx, flags=%#llx, %%cr0=%#llx\n", istate->cs, istate->rflags, read_cr0()); 76 printf("%%rax=%#llx, %%rcx=%#llx, %%rdx=%#llx\n", istate->rax, istate->rcx, istate->rdx); 77 printf("%%rsi=%#llx, %%rdi=%#llx, %%r8 =%#llx\n", istate->rsi, istate->rdi, istate->r8); 78 printf("%%r9 =%#llx, %%r10 =%#llx, %%r11=%#llx\n", istate->r9, istate->r10, istate->r11); 75 printf("%%cs=%#llx, rflags=%#llx, %%cr0=%#llx\n", istate->cs, 76 istate->rflags, read_cr0()); 77 printf("%%rax=%#llx, %%rcx=%#llx, %%rdx=%#llx\n", istate->rax, 78 istate->rcx, istate->rdx); 79 printf("%%rsi=%#llx, %%rdi=%#llx, %%r8=%#llx\n", istate->rsi, 80 istate->rdi, istate->r8); 81 printf("%%r9=%#llx, %%r10=%#llx, %%r11=%#llx\n", istate->r9, 82 istate->r10, istate->r11); 79 83 #ifdef CONFIG_DEBUG_ALLREGS 80 printf("%%r12=%#llx, %%r13=%#llx, %%r14=%#llx\n", istate->r12, istate->r13, istate->r14); 81 printf("%%r15=%#llx, %%rbx=%#llx, %%rbp=%#llx\n", istate->r15, istate->rbx, &istate->rbp); 84 printf("%%r12=%#llx, %%r13=%#llx, %%r14=%#llx\n", istate->r12, 85 istate->r13, istate->r14); 86 printf("%%r15=%#llx, %%rbx=%#llx, %%rbp=%#llx\n", istate->r15, 87 istate->rbx, &istate->rbp); 82 88 #endif 83 89 printf("%%rsp=%#llx\n", &istate->stack[0]); … … 196 202 for (i = 0; i < IRQ_COUNT; i++) { 197 203 if ((i != IRQ_PIC_SPUR) && (i != IRQ_PIC1)) 198 exc_register(IVT_IRQBASE + i, "irq", (iroutine) irq_interrupt); 204 exc_register(IVT_IRQBASE + i, "irq", 205 (iroutine) irq_interrupt); 199 206 } 200 207 … … 205 212 206 213 #ifdef CONFIG_SMP 207 exc_register(VECTOR_TLB_SHOOTDOWN_IPI, "tlb_shootdown", (iroutine) tlb_shootdown_ipi); 214 exc_register(VECTOR_TLB_SHOOTDOWN_IPI, "tlb_shootdown", 215 (iroutine) tlb_shootdown_ipi); 208 216 #endif 209 217 }
Note:
See TracChangeset
for help on using the changeset viewer.