Get rid of the TODO macro in the few places that still need work; either

comment it out or change to explicit panics.  It conflicts with things
like #if TODO in drivers.
This commit is contained in:
Jake Burkholder 2002-10-01 06:34:21 +00:00
parent 9d3b5ef85f
commit eade9db908
5 changed files with 5 additions and 8 deletions

View File

@ -34,9 +34,6 @@
* Machine dependent constants for sparc64.
*/
#define TODO \
panic("implement %s", __func__)
/*
* Round p (pointer or byte index) up to a correctly-aligned value
* for all data types (int, long, ...). The result is unsigned int

View File

@ -55,7 +55,7 @@ DELAY(int n)
void
setstatclockrate(int newhz)
{
TODO;
/* TODO; */
}
int

View File

@ -598,7 +598,7 @@ ptrace_set_pc(struct thread *td, u_long addr)
int
ptrace_single_step(struct thread *td)
{
TODO;
/* TODO; */
return (0);
}

View File

@ -470,7 +470,7 @@ ipi_selected(u_int cpus, u_int ipi)
void
ipi_all(u_int ipi)
{
TODO;
panic("ipi_all");
}
void

View File

@ -816,7 +816,7 @@ void *
pmap_kenter_temporary(vm_offset_t pa, int i)
{
TODO;
panic("pmap_kenter_temporary");
}
/*
@ -1774,7 +1774,7 @@ pmap_clear_write(vm_page_t m)
int
pmap_mincore(pmap_t pm, vm_offset_t addr)
{
TODO;
/* TODO; */
return (0);
}