Deleted Added
full compact
26c26
< * $Id: bootstrap.h,v 1.3 1998/09/03 02:10:07 msmith Exp $
---
> * $Id: bootstrap.h,v 1.4 1998/09/04 02:43:26 msmith Exp $
59a60,62
> /* interp_parse.c */
> extern int parse(int *argc, char ***argv, char *str);
>
91a95,101
> struct pnpident
> {
> char *id_ident; /* ASCII identifier, actual format varies with bus/handler */
> struct pnpident *id_next; /* the next identifier */
> };
>
> struct pnphandler;
94c104
< char *pi_ident; /* ASCII identifier, actual format varies with bus/handler */
---
> struct pnpident *pi_ident; /* list of identifiers */
99c109
< int pi_handler; /* handler which detected this device */
---
> struct pnphandler *pi_handler; /* handler which detected this device */
101c111
< }
---
> };
105,106c115,116
< char *pp_name; /* handler/bus name */
< struct pnpinfo *(pp_enumerate *)(int index); /* return a string identifying device (index) */
---
> char *pp_name; /* handler/bus name */
> void (* pp_enumerate)(struct pnpinfo **); /* add detected devices to chain */
109,110c119
< extern struct pnphandler *pnphandlers[]; /* provided by MD code */
<
---
> extern struct pnphandler *pnphandlers[]; /* provided by MD code */
111a121,122
> extern void pnp_addident(struct pnpinfo *pi, char *ident);
>
160a172
> extern struct loaded_module *mod_allocmodule(void);
161a174,180
>
> /* MI module loaders */
> extern int aout_loadmodule(char *filename, vm_offset_t dest, struct loaded_module **result);
> extern vm_offset_t aout_findsym(char *name, struct loaded_module *mp);
>
> /* extern int elf_loadmodule(char *filename, vm_offset_t dest, struct loaded_module **result); */
>
163a183,185
> *
> * XXX these are copies of the defines in <sys/linker.h>, and should be nuked
> * XXX before being committed.
165d186
< /* XXX these belong in <machine/bootinfo.h> */
176,181d196
< /* MI module loaders */
< extern int aout_loadmodule(char *filename, vm_offset_t dest, struct loaded_module **result);
< extern vm_offset_t aout_findsym(char *name, struct loaded_module *mp);
<
< /* extern int elf_loadmodule(char *filename, vm_offset_t dest, struct loaded_module **result); */
<
185a201,202
>
>
270a288,290
> /* Perform ISA byte port I/O (only for systems with ISA) */
> int (*arch_isainb)(int port);
> void (*arch_isaoutb)(int port, int value);
273a294,296
> /* This must be provided by the MD code, but should it be in the archsw? */
> extern void delay(int delay);
>