Changeset 53f9821 in mainline for arch/ia32/src/interrupt.c
- Timestamp:
- 2006-03-20T20:32:17Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 018d957e
- Parents:
- 9d3e185
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/interrupt.c
r9d3e185 r53f9821 65 65 printf("ERROR_WORD=%X\n", istate->error_word); 66 66 printf("%%cs=%X,flags=%X\n", istate->cs, istate->eflags); 67 printf("%%eax=%X, %%ebx=%X, %%ecx=%X, %%edx=%X\n", istate->eax,istate->ebx,istate->ecx,istate->edx); 68 printf("%%esi=%X, %%edi=%X, %%ebp=%X, %%esp=%X\n", istate->esi,istate->edi,istate->ebp,istate->esp); 67 printf("%%eax=%X, %%ecx=%X, %%edx=%X, %%esp=%X\n", istate->eax,istate->ecx,istate->edx,&istate->stack[0]); 68 #ifdef CONFIG_DEBUG_ALLREGS 69 printf("%%esi=%X, %%edi=%X, %%ebp=%X, %%ebx=%X\n", istate->esi,istate->edi,istate->ebp,istate->ebx); 70 #endif 69 71 printf("stack: %X, %X, %X, %X\n", istate->stack[0], istate->stack[1], istate->stack[2], istate->stack[3]); 70 72 printf(" %X, %X, %X, %X\n", istate->stack[4], istate->stack[5], istate->stack[6], istate->stack[7]); … … 126 128 void syscall(int n, istate_t *istate) 127 129 { 128 interrupts_enable(); 129 if (istate->esi < SYSCALL_END) 130 istate->eax = syscall_table[istate->esi](istate->eax, istate->ebx, istate->ecx, istate->edx); 131 else 132 panic("Undefined syscall %d", istate->esi); 133 interrupts_disable(); 130 panic("Obsolete syscall handler."); 134 131 } 135 132
Note:
See TracChangeset
for help on using the changeset viewer.