summaryrefslogtreecommitdiffstats
path: root/src/interface/linux
diff options
context:
space:
mode:
authorMichael Brown2025-04-30 17:07:04 +0200
committerMichael Brown2025-04-30 17:26:16 +0200
commit1534b0a6e9545d3a75ef6ca7cf0e4d89704582a2 (patch)
treee2455bbe6c8a79c9245f352fb6e74fd5fefe42f5 /src/interface/linux
parent[uaccess] Reduce scope of included uaccess.h header (diff)
downloadipxe-1534b0a6e9545d3a75ef6ca7cf0e4d89704582a2.tar.gz
ipxe-1534b0a6e9545d3a75ef6ca7cf0e4d89704582a2.tar.xz
ipxe-1534b0a6e9545d3a75ef6ca7cf0e4d89704582a2.zip
[uaccess] Remove redundant virt_to_user() and userptr_t
Remove the last remaining traces of the concept of a user pointer, leaving iPXE with a simpler and cleaner memory model that implicitly assumes that all memory locations can be reached through pointer dereferences. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/linux')
-rw-r--r--src/interface/linux/linux_uaccess.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/interface/linux/linux_uaccess.c b/src/interface/linux/linux_uaccess.c
index 436707757..7f7f8931b 100644
--- a/src/interface/linux/linux_uaccess.c
+++ b/src/interface/linux/linux_uaccess.c
@@ -29,4 +29,3 @@ FILE_LICENCE(GPL2_OR_LATER);
PROVIDE_UACCESS_INLINE(linux, phys_to_virt);
PROVIDE_UACCESS_INLINE(linux, virt_to_phys);
-PROVIDE_UACCESS_INLINE(linux, virt_to_user);