Changeset f4a61ef in mainline for arch/ia32/src
- Timestamp:
- 2005-08-20T21:52:58Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3526da33
- Parents:
- b07769b6
- Location:
- arch/ia32/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/asm.S
rb07769b6 rf4a61ef 380 380 mov %ax,%gs; 381 381 0: 382 # movl $0xdeadbeaf, %eax 383 int $48 384 cli; 385 sti; 382 int $48 386 383 jmp 0b 387 384 # not reached -
arch/ia32/src/interrupt.c
rb07769b6 rf4a61ef 83 83 printf("%%eax=%L, %%ebx=%L, %%ecx=%L, %%edx=%L,\n%%edi=%L, %%esi=%L, %%ebp=%L, %%esp=%L\n", stack[-2], stack[-5], stack[-3], stack[-4], stack[-9], stack[-8], stack[-1], stack); 84 84 printf("stack: %X, %X, %X, %X\n", stack[4], stack[5], stack[6], stack[7]); 85 //panic("general protection fault\n");85 panic("general protection fault\n"); 86 86 stack[1]++; 87 87 }
Note:
See TracChangeset
for help on using the changeset viewer.