summaryrefslogtreecommitdiffstats
path: root/sys/boot/efi/libefi/efiboot.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/efi/libefi/efiboot.h')
-rw-r--r--sys/boot/efi/libefi/efiboot.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/boot/efi/libefi/efiboot.h b/sys/boot/efi/libefi/efiboot.h
index b1d7df0..518c9c0 100644
--- a/sys/boot/efi/libefi/efiboot.h
+++ b/sys/boot/efi/libefi/efiboot.h
@@ -35,11 +35,12 @@
* EFI fully-qualified device descriptor
*/
struct efi_devdesc {
- struct devsw *d_dev;
- int d_type;
+ struct devsw *d_dev;
+ int d_type;
#define DEVT_NONE 0
#define DEVT_DISK 1
#define DEVT_NET 2
+ EFI_HANDLE d_handle;
union {
struct {
int unit;
@@ -61,9 +62,13 @@ extern int efi_setcurrdev(struct env_var *ev, int flags, void *value);
typedef unsigned long physaddr_t;
/* exported devices XXX rename? */
+extern struct devsw efifs_dev;
extern struct devsw efi_disk;
extern struct netif_driver efi_net;
+/* Wrapper over EFI filesystems. */
+extern struct fs_ops efi_fsops;
+
/* this is in startup code */
extern void delay(int);
extern void reboot(void);
OpenPOWER on IntegriCloud