Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Aug 2014 15:17:48 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r269588 - projects/arm64/sys/arm64/arm64
Message-ID:  <53e0f59c.5f3e.5157f25a@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e0f59c.5f3e.5157f25a>