Changeset 90ed058 in mainline for kernel/arch/ia32/src/interrupt.c


Ignore:
Timestamp:
2010-07-01T16:33:58Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
49ace23
Parents:
873c681 (diff), eee047c (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.
Message:

Merge ia32 interrupt handler and trap frame improvements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/interrupt.c

    r873c681 r90ed058  
    6565void istate_decode(istate_t *istate)
    6666{
    67         printf("error_word=%#lx\n", istate->error_word);
    68         printf("cs =%#0.8lx\teflags=%#0.8lx\n", istate->cs, istate->eflags);
    69         printf("eax=%#0.8lx\tecx=%#0.8lx\tedx=%#0.8lx\n",
    70             istate->eax, istate->ecx, istate->edx);
     67        printf("error_word=%p\n", istate->error_word);
     68        printf("eflags=%p\n", istate->eflags);
     69
     70        printf("cs =%p\tds =%p\tes =%p\n", istate->cs, istate->ds, istate->es);
     71        printf("fs =%p\tgs =%p", istate->fs, istate->gs);
     72        if (istate_from_uspace(istate))
     73                printf("\tss =%p\n", istate->ss);
     74        else
     75                printf("\n");
     76
     77        printf("eax=%p\tebx=%p\tecx=%p\n", istate->eax, istate->ebx,
     78            istate->ecx);
     79        printf("edx=%p\tedi=%p\tesi=%p\n", istate->edx, istate->edi,
     80            istate->esi);
     81        printf("ebp=%p\tesp=%p\teip=%p\n", istate->ebp,
     82            istate_from_uspace(istate) ? istate->esp : (uintptr_t) &istate->esp,
     83            istate->eip);
    7184}
    7285
Note: See TracChangeset for help on using the changeset viewer.