diff options
author | peter <peter@FreeBSD.org> | 2003-10-19 02:36:07 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-10-19 02:36:07 +0000 |
commit | 05de20ae7abe6efc7ba3c8f23f9526d457433f7f (patch) | |
tree | 5aefeef7870c8cdb3fee52fa8d7e5bc3b939bcee | |
parent | eb4121cb0d886e7080dda5e17e03728e4d9cc1d7 (diff) | |
download | FreeBSD-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.
-rw-r--r-- | sys/alpha/alpha/machdep.c | 6 | ||||
-rw-r--r-- | sys/powerpc/aim/machdep.c | 6 | ||||
-rw-r--r-- | sys/powerpc/powerpc/machdep.c | 6 | ||||
-rw-r--r-- | sys/sparc64/sparc64/machdep.c | 6 |
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) { |