summaryrefslogtreecommitdiffstats
path: root/sys/boot/userboot/userboot.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/userboot/userboot.h')
-rw-r--r--sys/boot/userboot/userboot.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/boot/userboot/userboot.h b/sys/boot/userboot/userboot.h
index 7d8263e..9b0572e 100644
--- a/sys/boot/userboot/userboot.h
+++ b/sys/boot/userboot/userboot.h
@@ -175,4 +175,9 @@ struct loader_callbacks_v1 {
*/
void (*getmem)(void *arg, uint64_t *lowmem,
uint64_t *highmem);
+ /*
+ * ioctl interface to the disk device
+ */
+ int (*diskioctl)(void *arg, int unit, u_long cmd,
+ void *data);
};
OpenPOWER on IntegriCloud