summaryrefslogtreecommitdiffstats
path: root/src/interface/efi
diff options
context:
space:
mode:
authorMichael Brown2025-04-30 15:33:57 +0200
committerMichael Brown2025-04-30 17:16:02 +0200
commita169d73593f6c471857a694edc22809608c7d9c0 (patch)
treea48ed79f82ea1a35a35fe33330c97ee9c75f6633 /src/interface/efi
parent[image] Make image data read-only to most consumers (diff)
downloadipxe-a169d73593f6c471857a694edc22809608c7d9c0.tar.gz
ipxe-a169d73593f6c471857a694edc22809608c7d9c0.tar.xz
ipxe-a169d73593f6c471857a694edc22809608c7d9c0.zip
[uaccess] Reduce scope of included uaccess.h header
The uaccess.h header is no longer required for any code that touches external ("user") memory, since such memory accesses are now performed through pointer dereferences. Reduce the number of files including this header. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/efi')
-rw-r--r--src/interface/efi/efi_cmdline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interface/efi/efi_cmdline.c b/src/interface/efi/efi_cmdline.c
index d5ec6cee3..8b9d8efde 100644
--- a/src/interface/efi/efi_cmdline.c
+++ b/src/interface/efi/efi_cmdline.c
@@ -37,6 +37,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#include <ipxe/init.h>
#include <ipxe/image.h>
#include <ipxe/script.h>
+#include <ipxe/uaccess.h>
#include <ipxe/efi/efi.h>
#include <ipxe/efi/efi_cmdline.h>