Ignore:
File:
1 edited

Legend:

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

    r9171f12 r22a28a69  
    6565void istate_decode(istate_t *istate)
    6666{
    67         printf("cs =%p\trip=%p\trfl=%p\terr=%p\n",
    68             istate->cs, istate->rip, istate->rflags, istate->error_word);
    69 
    70         if (istate_from_uspace(istate))
    71                 printf("ss =%p\n", istate->ss);
    72        
    73         printf("rax=%p\trbx=%p\trcx=%p\trdx=%p\n",
    74             istate->rax, istate->rbx, istate->rcx, istate->rdx);
    75         printf("rsi=%p\trdi=%p\trbp=%p\trsp=%p\n",
    76             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",
    79             istate->r8, istate->r9, istate->r10, istate->r11);
    80         printf("r12=%p\tr13=%p\tr14=%p\tr15=%p\n",
    81             istate->r12, istate->r13, istate->r14, istate->r15);
     67        printf("error_word=%#llx\n", istate->error_word);
     68        printf("cs =%#0.16llx\trflags=%#0.16llx\n", istate->cs,
     69            istate->rflags);
     70        printf("rax=%#0.16llx\trbx=%#0.16llx\trcx=%#0.16llx\n", istate->rax,
     71            istate->rcx, istate->rdx);
     72        printf("rsi=%#0.16llx\trdi=%#0.16llx\tr8 =%#0.16llx\n", istate->rsi,
     73            istate->rdi, istate->r8);
     74        printf("r9 =%#0.16llx\tr10=%#0.16llx\tr11=%#0.16llx\n", istate->r9,
     75            istate->r10, istate->r11);
    8276}
    8377
     
    208202        exc_register(12, "ss_fault", true, (iroutine_t) ss_fault);
    209203        exc_register(13, "gp_fault", true, (iroutine_t) gp_fault);
     204        exc_register(14, "ident_mapper", true, (iroutine_t) ident_page_fault);
    210205       
    211206#ifdef CONFIG_SMP
Note: See TracChangeset for help on using the changeset viewer.