summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/blocktrans.h
diff options
context:
space:
mode:
authorSimon Rettberg2026-01-28 12:53:53 +0100
committerSimon Rettberg2026-01-28 12:53:53 +0100
commit8e82785c584dc13e20f9229decb95bd17bbe9cd1 (patch)
treea8b359e59196be5b2e3862bed189107f4bc9975f /src/include/ipxe/blocktrans.h
parentMerge branch 'master' into openslx (diff)
parent[prefix] Make unlzma.S compatible with 386 class CPUs (diff)
downloadipxe-openslx.tar.gz
ipxe-openslx.tar.xz
ipxe-openslx.zip
Merge branch 'master' into openslxopenslx
Diffstat (limited to 'src/include/ipxe/blocktrans.h')
-rw-r--r--src/include/ipxe/blocktrans.h8
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 */