summaryrefslogtreecommitdiffstats
path: root/sys/boot/efi/libefi/efifs.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't hardcode unit 0 for the current device if we're loaded from anmarcel2003-08-021-1/+12
| | | | | | | | | | | | EFI file system. When booting from a CD and there's already an EFI system partition on the disk, setting the current device to unit 0 will select the harddisk. This invariably breaks installing FreeBSD when other operating systems have been installed before. We obviously want to do the same when we're booting over the network. Maybe later. Based on a patch (from memory) from: arun
* Increase the block size for reading and writing from 8KB to 1MB andmarcel2003-02-261-4/+7
| | | | | | | introduce a preprocessor define for it. The larger block size significantly speeds up the loading of the kernel. Submitted by: Arun Sharma <arun.sharma@intel.com>
* Finally fix loader completely for IA64. efifs_stat() wasn't settingpeter2002-04-111-0/+2
| | | | | | the S_IFREG bit for regular files. This caused the path search code to skip it when it finally did find the kernel (after the common/module.c buffer overrun bug was fixed)
* Don't blindly dereference f->f_devdata as if it's always a pointer tomarcel2002-03-301-1/+6
| | | | | | | | | | | 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.
* Add EFI write support to loaderpeter2002-03-191-2/+30
|
* Fix typo in comment.dfr2001-10-111-1/+1
|
* Add a twiddle meter when reading from files. Gives me something to lookdfr2001-09-221-6/+17
| | | | at when a kernel is loading from a floppy.
* Add a libstand filesystem for accessing EFI native filesystems.dfr2001-09-071-0/+341
OpenPOWER on IntegriCloud