Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/powerpc



Module Name:    src
Committed By:   freza
Date:           Wed Sep 27 09:11:47 UTC 2006

Modified Files:
        src/sys/arch/powerpc/ibm4xx: clock.c intr.c
        src/sys/arch/powerpc/include/ibm4xx: ibm4xx_intr.h

Log Message:
Make sure we mask statclock timer on ibm4xx systems. This avoids
pthread "related" panics like:

    panic: remrunqueue: bit 18 not set
    Stopped in pid 479.3 (exsprite) at      netbsd:cpu_Debugger+0x10:       lwz
    r
    0, r1, 0x14
    db> bt
    0x869abe00: at panic+0x1b4
    0x869abe50: at remrunqueue+0x80
    0x869abe60: at mi_switch+0x114
    0x869abea0: at sa_unblock_userret+0x4e8
    0x869abee0: at syscall_plain+0x224
    0x869abf40: user SC trap #93 by 0x41949810: srr1=0xc030
               r1=0x445fff40 cr=0x40000002 xer=0 ctr=0x41aae208 esr=0 pid=0x36

While there, cleanup IPL_ definitions somewhat and fix interrupt mask
calculation per spl(9).

OK by matt@


To generate a diff of this commit:
cvs rdiff -r1.17 -r1.18 src/sys/arch/powerpc/ibm4xx/clock.c
cvs rdiff -r1.13 -r1.14 src/sys/arch/powerpc/ibm4xx/intr.c
cvs rdiff -r1.12 -r1.13 src/sys/arch/powerpc/include/ibm4xx/ibm4xx_intr.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index