Browse Source

loadkernel no longer exists; it is now download_url and lives in nic.c.

tags/v0.9.3
Michael Brown 19 years ago
parent
commit
332b40b986
1 changed files with 2 additions and 6 deletions
  1. 2
    6
      src/include/etherboot.h

+ 2
- 6
src/include/etherboot.h View File

107
 
107
 
108
 enum {
108
 enum {
109
 	ARP_CLIENT, ARP_SERVER, ARP_GATEWAY,
109
 	ARP_CLIENT, ARP_SERVER, ARP_GATEWAY,
110
-#ifdef DNS_RESOLVER
111
 	ARP_NAMESERVER,
110
 	ARP_NAMESERVER,
112
-#endif
113
 #ifdef PXE_EXPORT
111
 #ifdef PXE_EXPORT
114
 	ARP_PROXYDHCP,
112
 	ARP_PROXYDHCP,
115
 #endif
113
 #endif
144
 #include	"igmp.h"
142
 #include	"igmp.h"
145
 #include	"nfs.h"
143
 #include	"nfs.h"
146
 #include	"console.h"
144
 #include	"console.h"
145
+#include	"stdlib.h"
147
 
146
 
148
 struct arptable_t {
147
 struct arptable_t {
149
-	in_addr ipaddr;
148
+	struct in_addr ipaddr;
150
 	uint8_t node[6];
149
 	uint8_t node[6];
151
 } PACKED;
150
 } PACKED;
152
 
151
 
182
 /* main.c */
181
 /* main.c */
183
 struct Elf_Bhdr;
182
 struct Elf_Bhdr;
184
 extern int main();
183
 extern int main();
185
-extern int loadkernel P((const char *fname, int (*)(unsigned char *, unsigned int, unsigned int, int)));
186
 extern char as_main_program;
184
 extern char as_main_program;
187
 /* nic.c */
185
 /* nic.c */
188
 extern void rx_qdrain P((void));
186
 extern void rx_qdrain P((void));
260
 extern void poll_interruptions P((void));
258
 extern void poll_interruptions P((void));
261
 extern int strcasecmp P((const char *a, const char *b));
259
 extern int strcasecmp P((const char *a, const char *b));
262
 extern char *substr P((const char *a, const char *b));
260
 extern char *substr P((const char *a, const char *b));
263
-extern unsigned long strtoul P((const char *p, const char **, int base));
264
-extern int inet_aton P((const char *p, in_addr *i));
265
 
261
 
266
 extern unsigned long get_boot_order(unsigned long order, unsigned *index);
262
 extern unsigned long get_boot_order(unsigned long order, unsigned *index);
267
 extern void disk_init P((void));
263
 extern void disk_init P((void));

Loading…
Cancel
Save