summaryrefslogtreecommitdiff
path: root/sys/src/boot/efi/fns.h
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-10-24 00:40:09 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2014-10-24 00:40:09 +0200
commitfa3e71ab808441aaf5d8cb2318f536089dafea3f (patch)
treef1e1eb7a509a8f5b6712cbf977c7e785b0927e8c /sys/src/boot/efi/fns.h
parent3bb7ad61aa05fca94fe508914ad5bbf4cf3a86f6 (diff)
efi: change eficonfig ordering so memconf() is first, dont fallback to fs when /cfg/pxe/ file isnt there
having the memconf() (*e820=) last clutters the screen. do it first, so we can read *acpi= and *bootscreen= prints. we want to continue using tftp even when the /cfg/pxe/$ether file is not found. only when we detect no pxe/dhcp session, then we switch to local filesystem (non-network boot).
Diffstat (limited to 'sys/src/boot/efi/fns.h')
-rw-r--r--sys/src/boot/efi/fns.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/boot/efi/fns.h b/sys/src/boot/efi/fns.h
index c249dd5ce..58dbe32e6 100644
--- a/sys/src/boot/efi/fns.h
+++ b/sys/src/boot/efi/fns.h
@@ -7,8 +7,8 @@ extern char hex[];
void usleep(int t);
void jump(void *pc);
-void* pxeinit(void);
-void* fsinit(void);
+int pxeinit(void **pf);
+int fsinit(void **pf);
void* (*open)(char *name);
int (*read)(void *f, void *data, int len);