summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-10-19 02:36:07 +0000
committerpeter <peter@FreeBSD.org>2003-10-19 02:36:07 +0000
commit05de20ae7abe6efc7ba3c8f23f9526d457433f7f (patch)
tree5aefeef7870c8cdb3fee52fa8d7e5bc3b939bcee /sys/sparc64
parenteb4121cb0d886e7080dda5e17e03728e4d9cc1d7 (diff)
downloadFreeBSD-src-05de20ae7abe6efc7ba3c8f23f9526d457433f7f.zip
FreeBSD-src-05de20ae7abe6efc7ba3c8f23f9526d457433f7f.tar.gz
Add a stub cpu_idle() function for sparc64, alpha, powerpc. This is a
MI declared function so it should be everywhere.
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/sparc64/machdep.c6
1 files changed, 6 insertions, 0 deletions
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