diff options
Diffstat (limited to 'src/include/ipxe/blocktrans.h')
| -rw-r--r-- | src/include/ipxe/blocktrans.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/include/ipxe/blocktrans.h b/src/include/ipxe/blocktrans.h index fee71b96c..66a7e353c 100644 --- a/src/include/ipxe/blocktrans.h +++ b/src/include/ipxe/blocktrans.h @@ -8,12 +8,12 @@ */ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); +FILE_SECBOOT ( PERMITTED ); #include <stdint.h> #include <ipxe/refcnt.h> #include <ipxe/interface.h> #include <ipxe/xferbuf.h> -#include <ipxe/uaccess.h> /** A block device translator */ struct block_translator { @@ -26,13 +26,11 @@ struct block_translator { /** Data transfer buffer */ struct xfer_buffer xferbuf; - /** Data buffer */ - userptr_t buffer; /** Block size */ size_t blksize; }; -extern int block_translate ( struct interface *block, - userptr_t buffer, size_t size ); +extern int block_translate ( struct interface *block, void *buffer, + size_t size ); #endif /* _IPXE_BLOCKTRANS_H */ |
