diff options
| author | Michael Brown | 2025-04-21 17:16:01 +0200 |
|---|---|---|
| committer | Michael Brown | 2025-04-21 17:17:19 +0200 |
| commit | 8c31270a21a85cc87bce0e07e19e2041d2510a4c (patch) | |
| tree | 66255f4f34f30650bf2dbda212e551104fbd9ef0 /src/interface/efi/efi_fbcon.c | |
| parent | [uaccess] Remove redundant user_to_virt() (diff) | |
| download | ipxe-8c31270a21a85cc87bce0e07e19e2041d2510a4c.tar.gz ipxe-8c31270a21a85cc87bce0e07e19e2041d2510a4c.tar.xz ipxe-8c31270a21a85cc87bce0e07e19e2041d2510a4c.zip | |
[uaccess] Remove user_to_phys() and phys_to_user()
Remove the intermediate concept of a user pointer from physical
address conversions, leaving virt_to_phys() and phys_to_virt() as the
directly implemented functions.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/efi/efi_fbcon.c')
| -rw-r--r-- | src/interface/efi/efi_fbcon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interface/efi/efi_fbcon.c b/src/interface/efi/efi_fbcon.c index 659ebd37e..09cfde4c2 100644 --- a/src/interface/efi/efi_fbcon.c +++ b/src/interface/efi/efi_fbcon.c @@ -583,7 +583,7 @@ static int efifb_init ( struct console_configuration *config ) { mode, efifb.pixel.width, efifb.pixel.height, bpp, efifb.start ); /* Initialise frame buffer console */ - if ( ( rc = fbcon_init ( &efifb.fbcon, phys_to_user ( efifb.start ), + if ( ( rc = fbcon_init ( &efifb.fbcon, phys_to_virt ( efifb.start ), &efifb.pixel, &efifb.map, &efifb.font, config ) ) != 0 ) goto err_fbcon_init; |
