diff options
author | dg <dg@FreeBSD.org> | 1994-08-27 16:14:39 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1994-08-27 16:14:39 +0000 |
commit | 4d4250da00e8f202ebcf4523fa25568d04b116ad (patch) | |
tree | b3ca65b5c2af24b8ce278da15822a7fd638bbeb5 /sys/kern/init_main.c | |
parent | c900d4c13e16169b2482efbfb34820b08862bc16 (diff) | |
download | FreeBSD-src-4d4250da00e8f202ebcf4523fa25568d04b116ad.zip FreeBSD-src-4d4250da00e8f202ebcf4523fa25568d04b116ad.tar.gz |
1) Changed ddb into a option rather than a pseudo-device (use options DDB
in your kernel config now).
2) Added ps ddb function from 1.1.5. Cleaned it up a bit and moved into its
own file.
3) Added \r handing in db_printf.
4) Added missing memory usage stats to statclock().
5) Added dummy function to pseudo_set so it will be emitted if there
are no other pseudo declarations.
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r-- | sys/kern/init_main.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 4c33667..d504345 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)init_main.c 8.9 (Berkeley) 1/21/94 - * $Id: init_main.c,v 1.5 1994/08/18 22:34:57 wollman Exp $ + * $Id: init_main.c,v 1.6 1994/08/24 11:50:37 sos Exp $ */ #include <sys/param.h> @@ -103,6 +103,10 @@ void __main() {} * This table is filled in by the linker with functions that need to be * called to initialize various pseudo-devices and whatnot. */ + +static void dummyinit() {} +TEXT_SET(pseudo_set, dummyinit); + typedef void (*pseudo_func_t)(void); extern const struct linker_set pseudo_set; static const pseudo_func_t *pseudos = |