Go to the source code of this file.
Defines | |
| #define | UACCESS_PREFIX_efi __efi_ |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER) | |
| static __always_inline userptr_t | UACCESS_INLINE (efi, phys_to_user)(unsigned long phys_addr) |
| Convert physical address to user pointer. | |
| static __always_inline unsigned long | UACCESS_INLINE (efi, user_to_phys)(userptr_t userptr |
| Convert user buffer to physical address. | |
EFI runs with flat physical addressing, so the various mappings between virtual addresses, I/O addresses and bus addresses are all no-ops.
Definition in file efi_uaccess.h.
| #define UACCESS_PREFIX_efi __efi_ |
Definition at line 18 of file efi_uaccess.h.
| FILE_LICENCE | ( | GPL2_OR_LATER | ) |
| static __always_inline userptr_t UACCESS_INLINE | ( | efi | , | |
| phys_to_user | ||||
| ) | [inline, static] |
Convert physical address to user pointer.
| phys_addr | Physical address |
| userptr | User pointer |
Definition at line 28 of file efi_uaccess.h.
| static __always_inline unsigned long UACCESS_INLINE | ( | efi | , | |
| user_to_phys | ||||
| ) | [inline, static] |
Convert user buffer to physical address.
| userptr | User pointer | |
| offset | Offset from user pointer |
| phys_addr | Physical address |
1.5.7.1