diff options
Diffstat (limited to 'sys/arch/amd64/stand/libsa/disk.h')
-rw-r--r-- | sys/arch/amd64/stand/libsa/disk.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/arch/amd64/stand/libsa/disk.h b/sys/arch/amd64/stand/libsa/disk.h index 8d4cd1eb40a..4c0a219d0ba 100644 --- a/sys/arch/amd64/stand/libsa/disk.h +++ b/sys/arch/amd64/stand/libsa/disk.h @@ -1,4 +1,4 @@ -/* $OpenBSD: disk.h,v 1.4 2012/10/27 15:43:42 jsing Exp $ */ +/* $OpenBSD: disk.h,v 1.5 2015/09/02 01:52:26 yasuoka Exp $ */ /* * Copyright (c) 1997 Tobias Weingartner @@ -32,12 +32,19 @@ #include <sys/queue.h> +struct efi_diskinfo; +typedef struct efi_diskinfo *efi_diskinfo_t; + /* All the info on a disk we've found */ struct diskinfo { + efi_diskinfo_t efi_info; bios_diskinfo_t bios_info; struct disklabel disklabel; struct sr_boot_volume *sr_vol; + int (*diskio)(int, struct diskinfo *, u_int, int, void *); + int (*strategy)(void *, int, daddr32_t, size_t, void *, size_t *); + dev_t bsddev, bootdev; TAILQ_ENTRY(diskinfo) list; |