summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/alpha/alpha/machdep.c6
-rw-r--r--sys/powerpc/aim/machdep.c6
-rw-r--r--sys/powerpc/powerpc/machdep.c6
-rw-r--r--sys/sparc64/sparc64/machdep.c6
4 files changed, 24 insertions, 0 deletions
diff --git a/sys/alpha/alpha/machdep.c b/sys/alpha/alpha/machdep.c
index 8c79853..5de6070 100644
--- a/sys/alpha/alpha/machdep.c
+++ b/sys/alpha/alpha/machdep.c
@@ -1731,6 +1731,12 @@ cpu_halt(void)
prom_halt(1);
}
+void
+cpu_idle(void)
+{
+ /* Insert code to halt (until next interrupt) for the idle loop */
+}
+
/*
* Clear registers on exec
*/
diff --git a/sys/powerpc/aim/machdep.c b/sys/powerpc/aim/machdep.c
index ce2f85c..325da09 100644
--- a/sys/powerpc/aim/machdep.c
+++ b/sys/powerpc/aim/machdep.c
@@ -609,6 +609,12 @@ cpu_halt(void)
OF_exit();
}
+void
+cpu_idle(void)
+{
+ /* Insert code to halt (until next interrupt) for the idle loop */
+}
+
/*
* Set set up registers on exec.
*/
diff --git a/sys/powerpc/powerpc/machdep.c b/sys/powerpc/powerpc/machdep.c
index ce2f85c..325da09 100644
--- a/sys/powerpc/powerpc/machdep.c
+++ b/sys/powerpc/powerpc/machdep.c
@@ -609,6 +609,12 @@ cpu_halt(void)
OF_exit();
}
+void
+cpu_idle(void)
+{
+ /* Insert code to halt (until next interrupt) for the idle loop */
+}
+
/*
* Set set up registers on exec.
*/
diff --git a/sys/sparc64/sparc64/machdep.c b/sys/sparc64/sparc64/machdep.c
index c0349f9..3621fef 100644
--- a/sys/sparc64/sparc64/machdep.c
+++ b/sys/sparc64/sparc64/machdep.c
@@ -670,6 +670,12 @@ sparc64_shutdown_final(void *dummy, int howto)
cpu_halt();
}
+void
+cpu_idle(void)
+{
+ /* Insert code to halt (until next interrupt) for the idle loop */
+}
+
int
ptrace_set_pc(struct thread *td, u_long addr)
{
OpenPOWER on IntegriCloud