NetBSD-Bugs archive

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

PR/51724 CVS commit: src/sys/arch/landisk/landisk



The following reply was made to PR port-sh3/51724; it has been noted by GNATS.

From: "Valeriy E. Ushakov" <uwe%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/51724 CVS commit: src/sys/arch/landisk/landisk
Date: Sat, 17 Dec 2016 01:32:22 +0000

 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