Date: Thu, 16 Jul 2020 07:32:24 +0000 From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 222996] FreeBSD 11.1-12 on Hyper-V with PCI Express Pass Through Message-ID: <bug-222996-27103-Ec0uH3pwgE@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-222996-27103@https.bugs.freebsd.org/bugzilla/> References: <bug-222996-27103@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222996 --- Comment #37 from Dexuan Cui <decui@microsoft.com> --- (In reply to Wei Hu from comment #36) It looks the EFI FB's MMIO base/size come from sys/dev/vt/hw/efifb/efifb.c: static int vt_efifb_init(struct vt_device *vd) { ... kmdp =3D preload_search_by_type("elf kernel"); if (kmdp =3D=3D NULL) kmdp =3D preload_search_by_type("elf64 kernel"); efifb =3D (struct efi_fb *)preload_search_info(kmdp, MODINFO_METADATA | MODINFOMD_EFI_FB); ... info->fb_size =3D info->fb_height * info->fb_stride; info->fb_pbase =3D efifb->fb_addr; If this is the case, I guess hyperv vmbus/pcib can copy the same logic to g= et the base/size. :-) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222996-27103-Ec0uH3pwgE>