On 14 December 2016 at 10:02, Michael Zimmermann <sigmaepsilo...@gmail.com> wrote: > I tried both BuildResourceDescriptorHob and BuildMemoryAllocationHob > but apparently they don't have any effect. > When I look at the output of the shell's memmap command there aren't > any reserved/unavailable pages. > > Furthermore, when using AllocatePages with one of the physical > addresses which I've reserved it succeeds which means that it's not > just a problem of how the memmap command works. > > Am I doing something wrong or is this a bug? >
I think you need to ensure that they don't overlap existing resource descriptors: if you declare a region as reserved, you should not declare it as memory first _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel