summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/scsi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ipxe/scsi.h')
-rw-r--r--src/include/ipxe/scsi.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/ipxe/scsi.h b/src/include/ipxe/scsi.h
index 28b55b2d5..858f63547 100644
--- a/src/include/ipxe/scsi.h
+++ b/src/include/ipxe/scsi.h
@@ -2,7 +2,6 @@
#define _IPXE_SCSI_H
#include <stdint.h>
-#include <ipxe/uaccess.h>
#include <ipxe/interface.h>
/** @file
@@ -12,6 +11,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
/** Maximum block for READ/WRITE (10) commands */
#define SCSI_MAX_BLOCK_10 0xffffffffULL
@@ -252,14 +252,14 @@ struct scsi_cmd {
/** CDB for this command */
union scsi_cdb cdb;
/** Data-out buffer (may be NULL) */
- userptr_t data_out;
+ void *data_out;
/** Data-out buffer length
*
* Must be zero if @c data_out is NULL
*/
size_t data_out_len;
/** Data-in buffer (may be NULL) */
- userptr_t data_in;
+ void *data_in;
/** Data-in buffer length
*
* Must be zero if @c data_in is NULL