Changeset 87cd61f in mainline


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.

Files:
5 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 */
  • doc/requirements

    r74df77d r87cd61f  
    1313        o Bochs 2.0.2 - Bochs 2.2
    1414                o 2x-8x 686 CPU
    15         o Simics 2.0.28
    16                 o 4x Pentium 4 CPU
     15        o Simics 2.0.28 - Simics 2.2.14
     16                o 2x-4x Pentium 4 CPU
    1717        o ASUS P/I-P65UP5 + ASUS C-P55T2D REV. 1.41
    1818                o 2x 200Mhz Pentium CPU
  • src/Makefile.config

    r74df77d r87cd61f  
    1818
    1919# Uncomment if you want to compile in userspace support
    20 #USERSPACE=__USERSPACE__
     20USERSPACE=__USERSPACE__
    2121
    2222# Uncomment if you want to run in the test mode
    23 #TEST=__TEST__
     23TEST=__TEST__
    2424
    2525TEST_FILE=test.c
     
    2929#TEST_DIR=synch/rwlock2/
    3030#TEST_DIR=synch/rwlock3/
    31 #TEST_DIR=synch/rwlock4/
     31TEST_DIR=synch/rwlock4/
    3232#TEST_DIR=synch/rwlock5/
    3333#TEST_DIR=synch/semaphore1/
    3434#TEST_DIR=synch/semaphore2/
    35 TEST_DIR=fpu/fpu1
     35#TEST_DIR=fpu/fpu1
Note: See TracChangeset for help on using the changeset viewer.