freebsd-dev/sys/boot/efi/libefi
Marcel Moolenaar c61a2c84f0 Don't blindly dereference f->f_devdata as if it's always a pointer to
an efi_devdesc structure. When we're netbooting, f->f_devdata holds
the address of the network socket variable. Dereferencing this caused
some very unpredictable behaviour, including proper functioning.
So, as a sanity check, we first make sure f->f_dev points to our
own devsw. If not, the open will fail before we use f->f_devdata.

This solves the netboot hangs I invariably got whenever I used the
latest toolchain to compile the EFI loader.
2002-03-30 01:36:03 +00:00
..
arch/ia64 o Don't include sys/cdefs.h 2002-03-28 07:07:45 +00:00
bootinfo.c Lookup the EFI_FPSWA driver and pass the interface pointer through to the 2001-11-19 07:09:47 +00:00
copy.c Make this do the right thing (mostly). We should still reserve the pages 2001-09-14 08:26:00 +00:00
delay.c style(9) + fix FreeBSD id's. 2001-06-16 02:12:36 +00:00
devicename.c Reformat. 2001-09-07 08:49:47 +00:00
efi_console.c Fix FreeBSD id style. 2001-06-16 05:56:13 +00:00
efiboot.h Lookup the EFI_FPSWA driver and pass the interface pointer through to the 2001-11-19 07:09:47 +00:00
efifpswa.c Lookup the EFI_FPSWA driver and pass the interface pointer through to the 2001-11-19 07:09:47 +00:00
efifs.c Don't blindly dereference f->f_devdata as if it's always a pointer to 2002-03-30 01:36:03 +00:00
efinet.c o Make efinet_put a blocking call by waiting for the protocol 2002-03-29 23:10:15 +00:00
elf_freebsd.c Call ExitBootServices and disable interrupts before we start hacking 2001-10-25 08:53:39 +00:00
exit.c style(9) + fix FreeBSD id's. 2001-06-16 02:12:36 +00:00
libefi.c Fix FreeBSD id style. 2001-06-16 05:56:13 +00:00
Makefile Lookup the EFI_FPSWA driver and pass the interface pointer through to the 2001-11-19 07:09:47 +00:00
module.c style(9) + fix FreeBSD id's. 2001-06-16 02:12:36 +00:00
time.c Add getsecs() for the libstand network code. 2001-09-22 18:33:09 +00:00