summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/ata.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ipxe/ata.h')
-rw-r--r--src/include/ipxe/ata.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/ipxe/ata.h b/src/include/ipxe/ata.h
index a10cfafcc..eea086c13 100644
--- a/src/include/ipxe/ata.h
+++ b/src/include/ipxe/ata.h
@@ -2,7 +2,6 @@
#define _IPXE_ATA_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 );
/**
* An ATA Logical Block Address
@@ -173,7 +173,7 @@ struct ata_cmd {
* If non-NULL, this buffer must be ata_command::cb::count
* sectors in size.
*/
- userptr_t data_out;
+ void *data_out;
/** Data-out buffer length
*
* Must be zero if @c data_out is NULL
@@ -184,7 +184,7 @@ struct ata_cmd {
* If non-NULL, this buffer must be ata_command::cb::count
* sectors in size.
*/
- userptr_t data_in;
+ void *data_in;
/** Data-in buffer length
*
* Must be zero if @c data_in is NULL