From ae88e4ee083dbf5a51e10cae2cdf213e2a7c5225 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Imre=20Vad=C3=A1sz?= Date: Sun, 27 Nov 2016 01:43:19 +0100 Subject: [PATCH] kernel/pc64: Don't fill uefi framebuffer with 0x77 during early boot. * This memset was only meant for debugging uefi boot, and just produces an annoying flick or a short delay during UEFI boot now. --- sys/platform/pc64/x86_64/machdep.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/platform/pc64/x86_64/machdep.c b/sys/platform/pc64/x86_64/machdep.c index c22acb6463..bdbcb97bb6 100644 --- a/sys/platform/pc64/x86_64/machdep.c +++ b/sys/platform/pc64/x86_64/machdep.c @@ -1808,9 +1808,6 @@ efi_fb_init_vaddr(int direct_map) efi_fb_info.vaddr = (vm_offset_t)pmap_mapdev_attr( efi_fb_info.paddr, sz, PAT_WRITE_COMBINING); } - - if (v == 0 && efi_fb_info.vaddr != 0) - memset((void *)efi_fb_info.vaddr, 0x77, sz); } int -- 2.11.4.GIT