Changeset 87cd61f in mainline for arch/ia32/src


Ignore:
Timestamp:
2005-06-14T16:11:12Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b60a22c
Parents:
74df77d
Message:

Do panic() on page_fault().
Good for long testing in SMP mode as silent "extinctions" of a CPU are no longer supported.

Tiny changes here and there.

Location:
arch/ia32/src
Files:
3 edited

Legend:

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

    r74df77d r87cd61f  
    116116        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);
    117117        printf("stack: %X, %X, %X, %X\n", stack[4], stack[5], stack[6], stack[7]);
    118         printf("page fault\n");
    119         cpu_halt();
     118        panic("page fault\n");
    120119}
    121120
  • arch/ia32/src/smp/ap.S

    r74df77d r87cd61f  
    7070        call map_kernel
    7171
    72         ljmp $KTEXT,$main_ap
     72        jmpl $KTEXT,$main_ap
    7373
    7474#endif /* __SMP__ */
  • arch/ia32/src/smp/apic.c

    r74df77d r87cd61f  
    4545 * Tested on:
    4646 *      Bochs 2.0.2 - Bochs 2.2 with 2-8 CPUs
    47  *      Simics 2.0.28
     47 *      Simics 2.0.28 - Simics 2.2.14 2-4 CPUs
    4848 *      ASUS P/I-P65UP5 + ASUS C-P55T2D REV. 1.41 with 2x 200Mhz Pentium CPUs
    4949 */
Note: See TracChangeset for help on using the changeset viewer.