diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1998-07-20 18:14:58 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1998-07-20 18:14:58 +0000 |
commit | fdc38214f1c40ce26e6e25981327826a7ea66eb5 (patch) | |
tree | ae9c7e77ecb34ab5cef60b5c8b9394610fd73b47 /sys/arch/i386/stand/boot | |
parent | 23e22f5ad7ff8815b741e5de54c0b98982f70ccc (diff) |
new exec framework
Diffstat (limited to 'sys/arch/i386/stand/boot')
-rw-r--r-- | sys/arch/i386/stand/boot/conf.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/sys/arch/i386/stand/boot/conf.c b/sys/arch/i386/stand/boot/conf.c index 6b8283bdc94..75b140e0cf4 100644 --- a/sys/arch/i386/stand/boot/conf.c +++ b/sys/arch/i386/stand/boot/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.12 1998/04/18 07:39:37 deraadt Exp $ */ +/* $OpenBSD: conf.c,v 1.13 1998/07/20 18:14:52 mickey Exp $ */ /* * Copyright (c) 1996 Michael Shalayeff @@ -46,20 +46,26 @@ #include <lib/libsa/unixdev.h> #include <biosdev.h> #include <dev/cons.h> +#include <lib/libsa/exec.h> const char version[] = "1.23"; int debug; +const struct x_sw execsw[] = { + { "aout", aout_probe, aout_load }, + { "", NULL, NULL }, +}; + struct fs_ops file_system[] = { { ufs_open, ufs_close, ufs_read, ufs_write, ufs_seek, ufs_stat, ufs_readdir }, #ifdef notdef { fat_open, fat_close, fat_read, fat_write, fat_seek, fat_stat, fat_readdir }, - { cd9660_open, cd9660_close, cd9660_read, cd9660_write, cd9660_seek, - cd9660_stat, cd9660_readdir }, { nfs_open, nfs_close, nfs_read, nfs_write, nfs_seek, nfs_stat, nfs_readdir }, + { cd9660_open, cd9660_close, cd9660_read, cd9660_write, cd9660_seek, + cd9660_stat, cd9660_readdir }, #endif #ifdef _TEST { null_open, null_close, null_read, null_write, null_seek, @@ -87,7 +93,6 @@ struct netif_driver *netif_drivers[] = { int n_netif_drivers = NENTS(netif_drivers); #endif -struct consdev *cn_tab = &constab[0]; struct consdev constab[] = { #ifdef _TEST { unix_probe, unix_init, unix_getc, unix_putc }, @@ -97,4 +102,5 @@ struct consdev constab[] = { #endif { NULL } }; +struct consdev *cn_tab = constab; |