diff options
author | jake <jake@FreeBSD.org> | 2002-10-01 06:34:21 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2002-10-01 06:34:21 +0000 |
commit | 85e12cff3b67d0264814b00c269cdae05b684f62 (patch) | |
tree | dc7249bcb3382542da65d8b0c6a3074df3faaeec /sys/sparc64 | |
parent | 8eea3890ecf428231f563c41685e108a79ba0fdb (diff) | |
download | FreeBSD-src-85e12cff3b67d0264814b00c269cdae05b684f62.zip FreeBSD-src-85e12cff3b67d0264814b00c269cdae05b684f62.tar.gz |
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.
Diffstat (limited to 'sys/sparc64')
-rw-r--r-- | sys/sparc64/include/param.h | 3 | ||||
-rw-r--r-- | sys/sparc64/sparc64/clock.c | 2 | ||||
-rw-r--r-- | sys/sparc64/sparc64/machdep.c | 2 | ||||
-rw-r--r-- | sys/sparc64/sparc64/mp_machdep.c | 2 | ||||
-rw-r--r-- | sys/sparc64/sparc64/pmap.c | 4 |
5 files changed, 5 insertions, 8 deletions
diff --git a/sys/sparc64/include/param.h b/sys/sparc64/include/param.h index 8b7cb39..94a6ef8 100644 --- a/sys/sparc64/include/param.h +++ b/sys/sparc64/include/param.h @@ -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 diff --git a/sys/sparc64/sparc64/clock.c b/sys/sparc64/sparc64/clock.c index 1204e88..ea65cfa 100644 --- a/sys/sparc64/sparc64/clock.c +++ b/sys/sparc64/sparc64/clock.c @@ -55,7 +55,7 @@ DELAY(int n) void setstatclockrate(int newhz) { - TODO; + /* TODO; */ } int diff --git a/sys/sparc64/sparc64/machdep.c b/sys/sparc64/sparc64/machdep.c index d2ecc80..4c17de3 100644 --- a/sys/sparc64/sparc64/machdep.c +++ b/sys/sparc64/sparc64/machdep.c @@ -598,7 +598,7 @@ ptrace_set_pc(struct thread *td, u_long addr) int ptrace_single_step(struct thread *td) { - TODO; + /* TODO; */ return (0); } diff --git a/sys/sparc64/sparc64/mp_machdep.c b/sys/sparc64/sparc64/mp_machdep.c index 06066ac..87700ed 100644 --- a/sys/sparc64/sparc64/mp_machdep.c +++ b/sys/sparc64/sparc64/mp_machdep.c @@ -470,7 +470,7 @@ ipi_selected(u_int cpus, u_int ipi) void ipi_all(u_int ipi) { - TODO; + panic("ipi_all"); } void diff --git a/sys/sparc64/sparc64/pmap.c b/sys/sparc64/sparc64/pmap.c index 8036e21..4485a55 100644 --- a/sys/sparc64/sparc64/pmap.c +++ b/sys/sparc64/sparc64/pmap.c @@ -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); } |