svn commit: r269588 - projects/arm64/sys/arm64/arm64

Andrew Turner andrew at FreeBSD.org
Tue Aug 5 15:17:48 UTC 2014


Author: andrew
Date: Tue Aug  5 15:17:47 2014
New Revision: 269588
URL: http://svnweb.freebsd.org/changeset/base/269588

Log:
  Change the panic in cpu_reset to a printf as panic calls cpu_reset.

Modified:
  projects/arm64/sys/arm64/arm64/vm_machdep.c

Modified: projects/arm64/sys/arm64/arm64/vm_machdep.c
==============================================================================
--- projects/arm64/sys/arm64/arm64/vm_machdep.c	Tue Aug  5 15:01:30 2014	(r269587)
+++ projects/arm64/sys/arm64/arm64/vm_machdep.c	Tue Aug  5 15:17:47 2014	(r269588)
@@ -78,7 +78,9 @@ void
 cpu_reset(void)
 {
 
-	panic("cpu_reset");
+	printf("cpu_reset");
+	while(1)
+		__asm volatile("wfi" ::: "memory");
 }
 
 void


More information about the svn-src-projects mailing list