On Wed, Mar 01, 2017 at 01:47:21AM -0700, Jan Beulich wrote: > >>> On 01.03.17 at 09:20, <daniel.ki...@oracle.com> wrote:
[...] > > UEFI ver. 2.6, p. 154: In general, UEFI OS loaders and UEFI applications > > should > > allocate memory (and pool) of type EfiLoaderData. UEFI boot service drivers > > must > > allocate memory (and pool) of type EfiBootServicesData. UREFI runtime > > drivers > > should allocate memory (and pool) of type EfiRuntimeServicesData (although > > such > > allocation can only be made during boot services time). > > Note the "In general ... should ...", as opposed to the "must" later on. > The situation here simply falls outside of the general case, and there's > a reason the spec isn't strict here. ARM, btw., already has such a use > in efi_arch_handle_cmdline(). Yes, I see that. And that is why I say "not nice" not fundamentally wrong. Daniel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel