Changeset View
Changeset View
Standalone View
Standalone View
stand/efi/loader/conf.c
Show All 29 Lines | |||||
#include <stand.h> | #include <stand.h> | ||||
#include <bootstrap.h> | #include <bootstrap.h> | ||||
#include <efi.h> | #include <efi.h> | ||||
#include <efilib.h> | #include <efilib.h> | ||||
#include <efizfs.h> | #include <efizfs.h> | ||||
extern struct devsw vdisk_dev; | extern struct devsw vdisk_dev; | ||||
#ifdef MD_IMAGE_SIZE | |||||
extern struct devsw md_dev; | |||||
#endif | |||||
struct devsw *devsw[] = { | struct devsw *devsw[] = { | ||||
&efipart_fddev, | &efipart_fddev, | ||||
&efipart_cddev, | &efipart_cddev, | ||||
&efipart_hddev, | &efipart_hddev, | ||||
&efihttp_dev, /* ordering with efinet_dev matters */ | &efihttp_dev, /* ordering with efinet_dev matters */ | ||||
#if defined(LOADER_NET_SUPPORT) | #if defined(LOADER_NET_SUPPORT) | ||||
&efinet_dev, | &efinet_dev, | ||||
#endif | #endif | ||||
&vdisk_dev, | &vdisk_dev, | ||||
#ifdef EFI_ZFS_BOOT | #ifdef EFI_ZFS_BOOT | ||||
&zfs_dev, | &zfs_dev, | ||||
#endif | |||||
#ifdef MD_IMAGE_SIZE | |||||
&md_dev, | |||||
#endif | #endif | ||||
NULL | NULL | ||||
}; | }; | ||||
struct fs_ops *file_system[] = { | struct fs_ops *file_system[] = { | ||||
#ifdef EFI_ZFS_BOOT | #ifdef EFI_ZFS_BOOT | ||||
&zfs_fsops, | &zfs_fsops, | ||||
#endif | #endif | ||||
Show All 34 Lines |