diff options
author | bde <bde@FreeBSD.org> | 1995-11-21 12:55:26 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-11-21 12:55:26 +0000 |
commit | 24ce87cc75daff742416402eb15baa8a2445fb87 (patch) | |
tree | cccb12ba068b651660e03742d946e8b53d952db7 /sys/i386 | |
parent | 14d44cd2d7bf837c55a5c3bf55ab4eadbc48aad8 (diff) | |
download | FreeBSD-src-24ce87cc75daff742416402eb15baa8a2445fb87.zip FreeBSD-src-24ce87cc75daff742416402eb15baa8a2445fb87.tar.gz |
Completed function declarations and/or added prototypes.
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/eisa/eisaconf.h | 3 | ||||
-rw-r--r-- | sys/i386/include/apm_bios.h | 4 | ||||
-rw-r--r-- | sys/i386/include/md_var.h | 4 | ||||
-rw-r--r-- | sys/i386/isa/atapi.h | 7 | ||||
-rw-r--r-- | sys/i386/isa/pcvt/pcvt_kbd.h | 2 |
5 files changed, 12 insertions, 8 deletions
diff --git a/sys/i386/eisa/eisaconf.h b/sys/i386/eisa/eisaconf.h index 7d79d89..93cecf3 100644 --- a/sys/i386/eisa/eisaconf.h +++ b/sys/i386/eisa/eisaconf.h @@ -18,7 +18,7 @@ * 4. Modifications may be freely made to this file if the above conditions * are met. * - * $Id: eisaconf.h,v 1.4 1995/11/06 05:21:01 gibbs Exp $ + * $Id: eisaconf.h,v 1.5 1995/11/20 12:41:13 phk Exp $ */ #ifndef _I386_EISA_EISACONF_H_ @@ -72,6 +72,7 @@ struct eisa_device { struct kern_devconf* kdc; }; +void eisa_configure __P((void)); struct eisa_device *eisa_match_dev __P((struct eisa_device *, char * (*)(eisa_id_t))); void eisa_reg_start __P((struct eisa_device *)); diff --git a/sys/i386/include/apm_bios.h b/sys/i386/include/apm_bios.h index 868455b..7db76dc 100644 --- a/sys/i386/include/apm_bios.h +++ b/sys/i386/include/apm_bios.h @@ -12,7 +12,7 @@ * * Aug, 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD) * - * $Id: apm_bios.h,v 1.4 1995/02/17 02:22:45 phk Exp $ + * $Id: apm_bios.h,v 1.5 1995/05/30 08:00:23 rgrimes Exp $ */ #ifndef _MACHINE_APM_BIOS_H_ @@ -123,7 +123,7 @@ /* C definitions */ struct apmhook { struct apmhook *ah_next; - int (*ah_fun)(); + int (*ah_fun) __P((void *ah_arg)); void *ah_arg; const char *ah_name; int ah_order; diff --git a/sys/i386/include/md_var.h b/sys/i386/include/md_var.h index 2528d73..cf912f1 100644 --- a/sys/i386/include/md_var.h +++ b/sys/i386/include/md_var.h @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: md_var.h,v 1.3 1995/05/30 08:00:43 rgrimes Exp $ + * $Id: md_var.h,v 1.4 1995/09/03 05:43:25 julian Exp $ */ #ifndef _MACHINE_MD_VAR_H_ @@ -61,8 +61,8 @@ void doreti_popl_es __P((void)) __asm(__STRING(doreti_popl_es)); void doreti_popl_es_fault __P((void)) __asm(__STRING(doreti_popl_es_fault)); int fill_regs __P((struct proc *p, struct reg *regs)); int mvesp __P((void)); -void setconf __P((void)); void userconfig __P((void)); void vm_bounce_init __P((void)); +int vm_page_zero_idle __P((void)); #endif /* !_MACHINE_MD_VAR_H_ */ diff --git a/sys/i386/isa/atapi.h b/sys/i386/isa/atapi.h index f22a5a2..875a5c9 100644 --- a/sys/i386/isa/atapi.h +++ b/sys/i386/isa/atapi.h @@ -198,6 +198,9 @@ struct atapidrv { /* delayed attach info */ struct kern_devconf *parent; /* the devconf info pattern */ }; +struct wcd; +typedef void atapi_callback_t(struct wcd *, struct buf *, int, struct atapires); + struct atapicmd { /* ATAPI command block */ struct atapicmd *next; /* next command in queue */ int busy; /* busy flag */ @@ -205,7 +208,7 @@ struct atapicmd { /* ATAPI command block */ int unit; /* drive unit number */ int count; /* byte count, >0 - read, <0 - write */ char *addr; /* data to transfer */ - void (*callback) (); /* call when done */ + atapi_callback_t *callback; /* call when done */ void *cbarg1; /* callback arg 1 */ void *cbarg2; /* callback arg 1 */ struct atapires result; /* resulting error code */ @@ -260,7 +263,7 @@ void atapi_request_callback (struct atapi *ata, int unit, u_char cmd, u_char a1, u_char a2, u_char a3, u_char a4, u_char a5, u_char a6, u_char a7, u_char a8, u_char a9, u_char a10, u_char a11, u_char a12, u_char a13, u_char a14, u_char a15, - char *addr, int count, void (*done)(), void *x, void *y); + char *addr, int count, atapi_callback_t *done, void *x, void *y); struct atapires atapi_request_immediate (struct atapi *ata, int unit, u_char cmd, u_char a1, u_char a2, u_char a3, u_char a4, u_char a5, u_char a6, u_char a7, u_char a8, u_char a9, diff --git a/sys/i386/isa/pcvt/pcvt_kbd.h b/sys/i386/isa/pcvt/pcvt_kbd.h index 000a709..0deebf4 100644 --- a/sys/i386/isa/pcvt/pcvt_kbd.h +++ b/sys/i386/isa/pcvt/pcvt_kbd.h @@ -64,7 +64,7 @@ typedef struct union what { u_char *string; /* ptr to string, null terminated */ - void (*func)(); /* ptr to function */ + void (*func)(void); /* ptr to function */ } what; } entry; |