Changeset f36787d7 in mainline
- Timestamp:
- 2011-05-12T17:18:53Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4489117
- Parents:
- b5e68c8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/interrupt.c
rb5e68c8 rf36787d7 66 66 void istate_decode(istate_t *istate) 67 67 { 68 printf("cs =%#0" PRIx32 "\teip=%p\t" 69 "efl=%#0" PRIx32 "\terr=%#0" PRIx32 "\n", 70 istate->cs, (void *) istate->eip, 71 istate->eflags, istate->error_word); 72 73 printf("ds =%#0" PRIx32 "\tes =%#0" PRIx32 "\t" 74 "fs =%#0" PRIx32 "\tgs =%#0" PRIx32 "\n", 68 printf("cs =%0#10" PRIx32 "\teip=%0#10" PRIx32 "\t" 69 "efl=%0#10" PRIx32 "\terr=%0#10" PRIx32 "\n", 70 istate->cs, istate->eip, istate->eflags, istate->error_word); 71 72 printf("ds =%0#10" PRIx32 "\tes =%0#10" PRIx32 "\t" 73 "fs =%0#10" PRIx32 "\tgs =%0#10" PRIx32 "\n", 75 74 istate->ds, istate->es, istate->fs, istate->gs); 76 75 77 76 if (istate_from_uspace(istate)) 78 printf("ss =% #0" PRIx32 "\n", istate->ss);79 80 printf("eax=% #0" PRIx32 "\tebx=%#0" PRIx32 "\t"81 "ecx=% #0" PRIx32 "\tedx=%#0" PRIx32 "\n",77 printf("ss =%0#10" PRIx32 "\n", istate->ss); 78 79 printf("eax=%0#10" PRIx32 "\tebx=%0#10" PRIx32 "\t" 80 "ecx=%0#10" PRIx32 "\tedx=%0#10" PRIx32 "\n", 82 81 istate->eax, istate->ebx, istate->ecx, istate->edx); 83 82 84 printf("esi=% p\tedi=%p\tebp=%p\tesp=%p\n",85 (void *) istate->esi, (void *) istate->edi,86 (void *)istate->ebp,87 istate_from_uspace(istate) ? ((void *) istate->esp):88 &istate->esp);83 printf("esi=%0#10" PRIx32 "\tedi=%0#10" PRIx32 "\t" 84 "ebp=%0#10" PRIx32 "\tesp=%0#10" PRIx32 "\n", 85 istate->esi, istate->edi, istate->ebp, 86 istate_from_uspace(istate) ? istate->esp : 87 (uintptr_t) &istate->esp); 89 88 } 90 89
Note:
See TracChangeset
for help on using the changeset viewer.