Source-Changes archive

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

CVS commit: [netbsd-8] src/sys



Module Name:    src
Committed By:   martin
Date:           Sun Sep 23 17:28:25 UTC 2018

Modified Files:
        src/sys/ddb [netbsd-8]: db_command.c
        src/sys/kern [netbsd-8]: subr_lockdebug.c

Log Message:
Pull up following revision(s) (requested by mrg in ticket #1024):

        sys/ddb/db_command.c: revision 1.157
        sys/ddb/db_command.c: revision 1.158
        sys/kern/subr_lockdebug.c: revision 1.67

always call lockdebug_dismiss() from DDB -- there are always some
minimal lockdebug checks in place, even without LOCKDEBUG.

adjust lockdebug_abort() to ignore problems after ld_panic is set

so that there's a chance of this working.
this fixes ddb 'reboot' on softiron od1000.

call spl0() before cpu_reboot(), so that there's a chance that:
- interrupts can work afterwards
- this also means if IO stalls, serial break might work again.

this mimics how reboot(2) ends up calling cpu_reboot().


To generate a diff of this commit:
cvs rdiff -u -r1.148.8.3 -r1.148.8.4 src/sys/ddb/db_command.c
cvs rdiff -u -r1.57.2.2 -r1.57.2.3 src/sys/kern/subr_lockdebug.c

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