From 05de20ae7abe6efc7ba3c8f23f9526d457433f7f Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 19 Oct 2003 02:36:07 +0000 Subject: Add a stub cpu_idle() function for sparc64, alpha, powerpc. This is a MI declared function so it should be everywhere. --- sys/sparc64/sparc64/machdep.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sys/sparc64') 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) { -- cgit v1.1