Changeset eb522e8 in mainline for kernel/arch/amd64/src/interrupt.c
- Timestamp:
- 2011-06-01T08:43:42Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8d6c1f1
- Parents:
- 9e2e715 (diff), e51a514 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/interrupt.c
r9e2e715 reb522e8 62 62 void (* enable_irqs_function)(uint16_t irqmask) = NULL; 63 63 void (* eoi_function)(void) = NULL; 64 const char *irqs_info = NULL; 64 65 65 66 void istate_decode(istate_t *istate) 66 67 { 67 printf("cs =%p\trip=%p\trfl=%p\terr=%p\n", 68 printf("cs =%0#18" PRIx64 "\trip=%0#18" PRIx64 "\t" 69 "rfl=%0#18" PRIx64 "\terr=%0#18" PRIx64 "\n", 68 70 istate->cs, istate->rip, istate->rflags, istate->error_word); 69 71 70 72 if (istate_from_uspace(istate)) 71 printf("ss =%p\n", istate->ss); 72 73 printf("rax=%p\trbx=%p\trcx=%p\trdx=%p\n", 73 printf("ss =%0#18" PRIx64 "\n", istate->ss); 74 75 printf("rax=%0#18" PRIx64 "\trbx=%0#18" PRIx64 "\t" 76 "rcx=%0#18" PRIx64 "\trdx=%0#18" PRIx64 "\n", 74 77 istate->rax, istate->rbx, istate->rcx, istate->rdx); 75 printf("rsi=%p\trdi=%p\trbp=%p\trsp=%p\n", 78 79 printf("rsi=%0#18" PRIx64 "\trdi=%0#18" PRIx64 "\t" 80 "rbp=%0#18" PRIx64 "\trsp=%0#18" PRIx64 "\n", 76 81 istate->rsi, istate->rdi, istate->rbp, 77 istate_from_uspace(istate) ? istate->rsp : (uintptr_t)&istate->rsp); 78 printf("r8 =%p\tr9 =%p\tr10=%p\tr11=%p\n", 82 istate_from_uspace(istate) ? istate->rsp : 83 (uintptr_t) &istate->rsp); 84 85 printf("r8 =%0#18" PRIx64 "\tr9 =%0#18" PRIx64 "\t" 86 "r10=%0#18" PRIx64 "\tr11=%0#18" PRIx64 "\n", 79 87 istate->r8, istate->r9, istate->r10, istate->r11); 80 printf("r12=%p\tr13=%p\tr14=%p\tr15=%p\n", 88 89 printf("r12=%0#18" PRIx64 "\tr13=%0#18" PRIx64 "\t" 90 "r14=%0#18" PRIx64 "\tr15=%0#18" PRIx64 "\n", 81 91 istate->r12, istate->r13, istate->r14, istate->r15); 82 92 }
Note:
See TracChangeset
for help on using the changeset viewer.