]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[linux] Add stub phys_to_user() implementation
authorMichael Brown <mcb30@ipxe.org>
Wed, 23 Mar 2022 14:41:36 +0000 (14:41 +0000)
committerMichael Brown <mcb30@ipxe.org>
Thu, 24 Mar 2022 12:58:52 +0000 (12:58 +0000)
commit1e1b9593e6f7d6026f2d6a2109e06a9629ef0ce0
tree3390f790cd68f508d2daf3f13a3c236bbbe09f6d
parent27825e555746c379ac045466f692ed77686af2b5
[linux] Add stub phys_to_user() implementation

For symmetry with the stub user_to_phys() implementation, provide
phys_to_user() with the same underlying assumption that virtual
addresses are physical (since there is no way to know the real
physical address when running as a Linux userspace executable).

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/include/ipxe/linux/linux_uaccess.h