kib added inline comments.
INLINE COMMENTS
> decui_microsoft.com wrote in copy.c:79-84
> IIRC, the UEFI firmware enables protected mode with identity-mapped paging
> (i.e. VA==PA) , before the execution is transferred to FreeBSD's EFI loader.
> So here IMO I can treat VA==PA in the patch (it lo
decui_microsoft.com added inline comments.
INLINE COMMENTS
> kib wrote in copy.c:79-84
> Note that at the loader/earliest kernel boot phase, we must consider two
> different types of addresses, physical and virtual. Kernel is linked at
> specific virtual address, and for the text segment of th
kib added inline comments.
INLINE COMMENTS
> decui_microsoft.com wrote in copy.c:79-84
> Do you mean the existing allocations of the type EfiLoaderData?
> IMHO, after boot services has exited, we can only write the memory of
> EfiLoaderData or EfiConventionalMemory. It's unsafe to write to memo
decui_microsoft.com added inline comments.
INLINE COMMENTS
> marcel wrote in copy.c:79-84
> Please also handle existing allocations. If those allocations represent
> free/usable memory after boot services has exited, then they are for all
> practical purposes "conventional memory".
>
> Also: p
decui_microsoft.com added a comment.
In https://reviews.freebsd.org/D9686#200243, @marcel wrote:
> Going for the workaround I see! :-)
Yes, it's a workaround. Let's try to unblock Hyper-V for the usual case
first: currently FreeBSD 10.3, 11, and the HEAD can't boot as UEFI VM on
marcel added a comment.
Going for the workaround I see! :-)
INLINE COMMENTS
> copy.c:56
> + int i, ndesc;
> + unsigned long aviable_pages;
> +
It's spelled "available" instead of "aviable" :-)
> copy.c:79-84
> + if (KERNEL_PHYSICAL_BASE < start ||
> + KER
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211746
--- Comment #20 from Dexuan Cui ---
(In reply to Dexuan Cui from comment #19)
I posted https://reviews.freebsd.org/D9686 for this bug.
--
You are receiving this mail because:
You are the assignee for the bug.
_
decui_microsoft.com added a subscriber: freebsd-virtualization-list.
REVISION DETAIL
https://reviews.freebsd.org/D9686
EMAIL PREFERENCES
https://reviews.freebsd.org/settings/panel/emailpreferences/
To: decui_microsoft.com, imp, jhb, will, kib, delphij, emaste, marcel,
sepherosa_gmail.com, h