Changeset View
Changeset View
Standalone View
Standalone View
stand/i386/libi386/libi386.h
Show All 23 Lines | |||||
* SUCH DAMAGE. | * SUCH DAMAGE. | ||||
* | * | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
/* | /* | ||||
* i386 fully-qualified device descriptor. | * i386 fully-qualified device descriptor. | ||||
* Note, this must match the 'struct devdesc' declaration | * Note, this must match struct zfs_devdesc for zfs support. | ||||
* in bootstrap.h and also with struct zfs_devdesc for zfs | |||||
* support. | |||||
*/ | */ | ||||
struct i386_devdesc | /* Note: Must match the 'struct devdesc' in stand.h */ | ||||
{ | struct i386_devdesc { | ||||
struct devsw *d_dev; | struct devdesc dd; | ||||
int d_type; | |||||
int d_unit; | |||||
union | union | ||||
{ | { | ||||
struct | struct | ||||
{ | { | ||||
void *data; | |||||
int slice; | int slice; | ||||
int partition; | int partition; | ||||
off_t offset; | off_t offset; | ||||
} biosdisk; | } biosdisk; | ||||
struct | struct | ||||
{ | { | ||||
void *data; | |||||
} bioscd; | |||||
struct | |||||
{ | |||||
void *data; | |||||
uint64_t pool_guid; | uint64_t pool_guid; | ||||
uint64_t root_guid; | uint64_t root_guid; | ||||
} zfs; | } zfs; | ||||
} d_kind; | } d_kind; | ||||
}; | }; | ||||
/* | /* | ||||
* relocater trampoline support. | * relocater trampoline support. | ||||
▲ Show 20 Lines • Show All 99 Lines • Show Last 20 Lines |