Changeset View
Changeset View
Standalone View
Standalone View
stand/uboot/lib/libuboot.h
Show All 21 Lines | |||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
* 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$ | ||||
*/ | */ | ||||
struct uboot_devdesc | /* Note: Must match the 'struct devdesc' in stand.h */ | ||||
{ | struct uboot_devdesc { | ||||
struct devsw *d_dev; | struct devdesc dd; | ||||
int d_type; | |||||
int d_unit; | |||||
void *d_opendata; | |||||
union { | union { | ||||
struct { | struct { | ||||
int slice; | int slice; | ||||
int partition; | int partition; | ||||
off_t offset; | off_t offset; | ||||
} disk; | } disk; | ||||
} d_kind; | } d_kind; | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |