Changeset View
Changeset View
Standalone View
Standalone View
stand/i386/libi386/libi386.h
Show All 21 Lines | |||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
* SUCH DAMAGE. | * SUCH DAMAGE. | ||||
* | * | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#include "disk.h" | |||||
#ifdef LOADER_ZFS_SUPPORT | |||||
#include "libzfs.h" | |||||
#endif | |||||
/* | /* | ||||
* i386 fully-qualified device descriptor. | * i386 fully-qualified device descriptor. | ||||
*/ | */ | ||||
struct i386_devdesc { | struct i386_devdesc | ||||
struct devdesc dd; /* Must be first. */ | { | ||||
union | union | ||||
{ | { | ||||
struct | struct devdesc dd; | ||||
{ | struct disk_devdesc disk; | ||||
int slice; | #ifdef LOADER_ZFS_SUPPORT | ||||
int partition; | struct zfs_devdesc zfs; | ||||
off_t offset; | #endif | ||||
} biosdisk; | }; | ||||
struct | |||||
{ | |||||
uint64_t pool_guid; | |||||
uint64_t root_guid; | |||||
} zfs; | |||||
} d_kind; | |||||
}; | }; | ||||
/* | /* | ||||
* relocater trampoline support. | * relocater trampoline support. | ||||
*/ | */ | ||||
struct relocate_data { | struct relocate_data { | ||||
uint32_t src; | uint32_t src; | ||||
uint32_t dest; | uint32_t dest; | ||||
▲ Show 20 Lines • Show All 101 Lines • Show Last 20 Lines |