aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/ofw/libofw/libofw.h
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2012-05-12 20:27:33 +0000
committerAndriy Gapon <avg@FreeBSD.org>2012-05-12 20:27:33 +0000
commit32df8664346cc90acfa6882945a526fe2d186278 (patch)
tree9bd0cc8d4dee80f534d8942657f2f4fd2a5a37f0 /sys/boot/ofw/libofw/libofw.h
parent790752beb420c5f2faf25182fb66268fdf41d0c6 (diff)
Notes
Diffstat (limited to 'sys/boot/ofw/libofw/libofw.h')
-rw-r--r--sys/boot/ofw/libofw/libofw.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/boot/ofw/libofw/libofw.h b/sys/boot/ofw/libofw/libofw.h
index 5f6d7ad5e6bd..87e90959c9e6 100644
--- a/sys/boot/ofw/libofw/libofw.h
+++ b/sys/boot/ofw/libofw/libofw.h
@@ -33,7 +33,13 @@ struct ofw_devdesc {
int d_type;
int d_unit;
ihandle_t d_handle;
- char d_path[256];
+ union {
+ char d_path[256];
+ struct {
+ uint64_t pool_guid;
+ uint64_t root_guid;
+ };
+ };
};
extern int ofw_getdev(void **vdev, const char *devspec, const char **path);