Changeset b5eb1ee in mainline
- Timestamp:
- 2005-07-20T14:50:07Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 76857d1
- Parents:
- 51029384
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/asm.S
r51029384 rb5eb1ee 118 118 test $0xe0,%cl; 119 119 jnz 0f; 120 and $0x1f,%cl; 120 121 shl %cl,%eax; 121 122 and $ERROR_WORD_INTERRUPT_LIST,%eax; 122 j nz 0f;123 jz 0f; 123 124 124 125 popa; … … 358 359 .global utext 359 360 utext: 361 xor %ax,%ax; 362 mov %ax,%ds; 363 mov %ax,%es; 364 mov %ax,%fs; 365 mov %ax,%gs; 360 366 0: 361 367 # movl $0xdeadbeaf, %eax 362 int $48 368 int $48 369 cli; 370 sti; 363 371 jmp 0b 364 372 # not reached -
arch/ia32/src/interrupt.c
r51029384 rb5eb1ee 80 80 void gp_fault(__u8 n, __u32 stack[]) 81 81 { 82 printf(" stack[0]=%X, %%eip=%X, %%cs=%X, flags=%X\n", stack[0], stack[1], stack[2], stack[3]);82 printf("ERROR_WORD=%X, %%eip=%X, %%cs=%X, flags=%X\n", stack[0], stack[1], stack[2], stack[3]); 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 stack[1]++; 86 87 } 87 88 88 89 void ss_fault(__u8 n, __u32 stack[]) 89 90 { 90 printf(" stack[0]=%X, %%eip=%X, %%cs=%X, flags=%X\n", stack[0], stack[1], stack[2], stack[3]);91 printf("ERROR_WORD=%X, %%eip=%X, %%cs=%X, flags=%X\n", stack[0], stack[1], stack[2], stack[3]); 91 92 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); 92 93 printf("stack: %X, %X, %X, %X\n", stack[4], stack[5], stack[6], stack[7]); … … 112 113 { 113 114 printf("page fault address: %X\n", read_cr2()); 114 printf(" stack[0]=%X, %%eip=%X, %%cs=%X, flags=%X\n", stack[0], stack[1], stack[2], stack[3]);115 printf("ERROR_WORD=%X, %%eip=%X, %%cs=%X, flags=%X\n", stack[0], stack[1], stack[2], stack[3]); 115 116 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); 116 117 printf("stack: %X, %X, %X, %X\n", stack[4], stack[5], stack[6], stack[7]); -
src/Makefile.config
r51029384 rb5eb1ee 18 18 19 19 # Uncomment if you want to compile in userspace support 20 USERSPACE=__USERSPACE__20 #USERSPACE=__USERSPACE__ 21 21 22 22 # Uncomment if you want to run in the test mode … … 29 29 #TEST_DIR=synch/rwlock2/ 30 30 #TEST_DIR=synch/rwlock3/ 31 TEST_DIR=synch/rwlock4/31 #TEST_DIR=synch/rwlock4/ 32 32 #TEST_DIR=synch/rwlock5/ 33 33 #TEST_DIR=synch/semaphore1/ 34 34 #TEST_DIR=synch/semaphore2/ 35 #TEST_DIR=fpu/fpu135 TEST_DIR=fpu/fpu1
Note:
See TracChangeset
for help on using the changeset viewer.