Add a stub cpu_idle() function for sparc64, alpha, powerpc. This is a

MI declared function so it should be everywhere.
This commit is contained in:
Peter Wemm 2003-10-19 02:36:07 +00:00
parent f6a43a2b50
commit 1b03813f65
4 changed files with 24 additions and 0 deletions

View File

@ -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
*/

View File

@ -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.
*/

View File

@ -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.
*/

View File

@ -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)
{