summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/pccrc.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/pccrc.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/pccrc.h')
-rw-r--r--src/include/ipxe/pccrc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/ipxe/pccrc.h b/src/include/ipxe/pccrc.h
index 7f0963428..6d0e3f194 100644
--- a/src/include/ipxe/pccrc.h
+++ b/src/include/ipxe/pccrc.h
@@ -8,10 +8,10 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <stdint.h>
#include <byteswap.h>
-#include <ipxe/uaccess.h>
#include <ipxe/crypto.h>
/******************************************************************************
@@ -300,7 +300,7 @@ struct peerdist_info_v2_segment {
/** Raw content information */
struct peerdist_raw {
/** Data buffer */
- userptr_t data;
+ const void *data;
/** Length of data buffer */
size_t len;
};
@@ -435,7 +435,7 @@ struct peerdist_info_operations {
extern struct digest_algorithm sha512_trunc_algorithm;
-extern int peerdist_info ( userptr_t data, size_t len,
+extern int peerdist_info ( const void *data, size_t len,
struct peerdist_info *info );
extern int peerdist_info_segment ( const struct peerdist_info *info,
struct peerdist_info_segment *segment,