]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[uaccess] Replace real_to_user() with real_to_virt()
authorMichael Brown <mcb30@ipxe.org>
Mon, 21 Apr 2025 17:28:56 +0000 (18:28 +0100)
committerMichael Brown <mcb30@ipxe.org>
Mon, 21 Apr 2025 17:28:56 +0000 (18:28 +0100)
commit050df80bbc455efaf8c44ea00d55fd344d96f808
tree5d939943025f0f8cf8d3b2392f8d30393a1b77a6
parent8c31270a21a85cc87bce0e07e19e2041d2510a4c
[uaccess] Replace real_to_user() with real_to_virt()

Remove the intermediate concept of a user pointer from real address
conversion, leaving real_to_virt() as the directly implemented
function.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
19 files changed:
src/arch/x86/image/bzimage.c
src/arch/x86/image/com32.c
src/arch/x86/image/comboot.c
src/arch/x86/image/nbi.c
src/arch/x86/image/pxe_image.c
src/arch/x86/image/sdi.c
src/arch/x86/include/libkir.h
src/arch/x86/include/realmode.h
src/arch/x86/interface/pcbios/bios_smbios.c
src/arch/x86/interface/pcbios/int13.c
src/arch/x86/interface/pcbios/rsdp.c
src/arch/x86/interface/pcbios/vesafb.c
src/arch/x86/interface/pxe/pxe_call.c
src/arch/x86/interface/pxe/pxe_file.c
src/arch/x86/interface/pxe/pxe_preboot.c
src/arch/x86/interface/pxe/pxe_tftp.c
src/arch/x86/interface/pxe/pxe_udp.c
src/arch/x86/interface/syslinux/comboot_call.c
src/arch/x86/transitions/librm_mgmt.c