From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wj0-x235.google.com (mail-wj0-x235.google.com [IPv6:2a00:1450:400c:c01::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 0186381C59 for ; Wed, 14 Dec 2016 02:02:46 -0800 (PST) Received: by mail-wj0-x235.google.com with SMTP id v7so24537780wjy.2 for ; Wed, 14 Dec 2016 02:02:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=ZD92pJLdbWyteuu7bcd7/pcK1TCkiEK2yRDSGFvMTRw=; b=wV/JzTVFD2eSr7Ffn7YGknwI0zN2h6muK48jWf4/gnAjDN0TWdzY7vc0jAAG0L+/pm MMl7OVyQ4WuhK+d+B1+ZEtUdtfiQmFy6TbWvvT/85L6V5zpqBraIvV40yrCnFLMIGJMe vmiJezCGVQJj7jVggKnF9zBoLiiFi6GbUA7RraafLL40Z4FdQeAmzu/OE72XYfzY3Pbl NrIHj5QSPLYmCYKaHknI2ryXtUjuYhpLc+STPbwAJJDkX8d83cyaDADYoa517M/F8+nY TvTSfT8q+TmIiy3zdh78mugowrDUWL1oCsZtgHRdbCuWYb/FP1pFYsWOIDfGSHZloRUW vyzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ZD92pJLdbWyteuu7bcd7/pcK1TCkiEK2yRDSGFvMTRw=; b=oUqUXbQoGeKTK8W/LVFgl2gLN0qH5O0vtFIdQJIq3q9nXAyundSZ0tFDip7cyUB9Ci VR3tfNnHyA8k2Wxrh4O7sELOGTja6BlWypyeVuYvptJjSw0NK2zmCms66Nrrxho5qZvv qdgRRMpG4F8UXBoPjkzlGSLBx6itDGU1wd2yN8BQZKAmC8tmJy+eXoSlllFLhP3GC1K1 qaWAdgDvkbqHUHrBIIQdXXS8+v40EUCO3YYeYW2jHlTS66uP5yqT/Cz61et5suuk38rD cBoFc5p+ibjOV/epuUJqqX/LtnctXJBrG/CqDQwZXTMYvD3V3Nls8358+5s5QJP+UEIL oeEQ== X-Gm-Message-State: AKaTC03mZk5puz9rgT8Q3Op9nHB6NykkARWYcRciOHpEVz9pbutlyQi07GXpm84d6kiudBFhwRJsnAvkMX5RrA== X-Received: by 10.194.111.102 with SMTP id ih6mr85966916wjb.214.1481709763991; Wed, 14 Dec 2016 02:02:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.183.2 with HTTP; Wed, 14 Dec 2016 02:02:43 -0800 (PST) From: Michael Zimmermann Date: Wed, 14 Dec 2016 11:02:43 +0100 Message-ID: To: "edk2-devel@lists.01.org" , Ard Biesheuvel Subject: correct way to reserve memory from PrePi? X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2016 10:02:46 -0000 Content-Type: text/plain; charset=UTF-8 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? Thanks Michael