Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/arch/landisk/landisk
Module Name: src
Committed By: uwe
Date: Sat Dec 17 01:32:22 UTC 2016
Modified Files:
src/sys/arch/landisk/landisk: machdep.c
Log Message:
PR 51724 - landisk fails to reboot.
machine_reset() - instead of trying to cause an invalid data access
that gcc will optimize away, just use "trapa" instruction.
G/c assignment to EXPEVT, it will be set by the actual reset. That
assignment has been probably cargo-culted from cpu_reset() that
manually jumps to 0xa0000000 (the reset address) instead of triggering
a reset.
TODO: This code should be SuperH generic cpu_reset().
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/landisk/landisk/machdep.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