From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0608.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe45::608]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id D786881F06 for ; Fri, 17 Feb 2017 07:55:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Yhw4PsreaIBPGZckiPX3U2fVzeThubaErxyiKnUD9sg=; b=L8tTzxdXjsZHR2b2lOsFQyNz1/NOYVL0wR21AV+Vkcm+/QhVERg+Cm85tOG372J8azj0zAjeHnkw/SAif8jbJLHjQ6zOfX5pWThNMxYlb+xfyTa7fst8y19/46qG5KMZnGp+kAxdLCGPx1bHSO/zSQGVlzlGQKBX+S3EyvZC3sQ= Received: from DM2PR12MB0154.namprd12.prod.outlook.com (10.161.145.17) by DM2PR12MB0153.namprd12.prod.outlook.com (10.161.145.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16; Fri, 17 Feb 2017 15:55:12 +0000 Received: from DM2PR12MB0154.namprd12.prod.outlook.com ([10.161.145.17]) by DM2PR12MB0154.namprd12.prod.outlook.com ([10.161.145.17]) with mapi id 15.01.0888.030; Fri, 17 Feb 2017 15:55:12 +0000 From: "Kirkendall, Garrett" To: "edk2-devel@lists.01.org" Thread-Topic: Question for memory type: EfiReservedMemoryType Thread-Index: AdKJNNdFtfO3OVMbTq2IXLEw8wTiDw== Date: Fri, 17 Feb 2017 15:55:12 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Garrett.Kirkendall@amd.com; x-originating-ip: [165.204.77.1] x-ms-office365-filtering-correlation-id: 1b4831d3-73ec-43fd-fbdd-08d4574d5b9b x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081); SRVR:DM2PR12MB0153; x-microsoft-exchange-diagnostics: 1; DM2PR12MB0153; 7:EWNNWsNH8gclP9wVK/bNyECofQPa3cIthHUpFcZYNqdWJKRgu78fN6RA+x84GChXiDD02ASyoUYZIYHr9cpJo8VpK/CWhFm90wl7Tl8nk3r0Ht/fL6dNN9H93d2UuuSxdu1/J6hoqSostAO95dSgIpiK4x+y9UwliqvyQ7Xax2KSMPET559peWL7xR5ZF0a1M0nvKCZx3zZLB1pcAT1usCK7BKAz6a+eCzaMWIhUB23PtzLB8Pu+CFEA2E9tXVr8UThxYht+PEimO6omG38dkuyHeW8qPDEiAcQEndZdAdSLFcULzITGczQByyjqHfpQsryEQ3rVHIhxwc8EYcG4mw==; 20:+lgguaBXLuuQiEGTpaGR+HM8X+bjXuypF7e2dfpvGP7IQIHNl8TNSqz0G21EmtHQNxCTrIJZ8Pt+B4YAMBX9qQmelyNBKxZ4G6a2kBMsfQXaNJw9N1zk5pAe3EzEal2PHjBlwXt88KSj6LmW80fbPmTxNueSrtRpoCba4KCKa36UBExNShEZqH5TBsayhgKapi5YvxzEU4MiUVBVkvSzkJ9K8tJOgQtbSIPw8HiBW+UuN4NmPaPaUXxraU08TM88 x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(95223839027130)(767451399110)(86561027422486)(81227570615382)(21748063052155)(64217206974132); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026)(6041248)(20161123558025)(20161123564025)(20161123562025)(20161123555025)(20161123560025)(6072148); SRVR:DM2PR12MB0153; BCL:0; PCL:0; RULEID:; SRVR:DM2PR12MB0153; x-forefront-prvs: 02213C82F8 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(7916002)(39840400002)(39450400003)(39410400002)(39860400002)(39850400002)(189002)(199003)(33656002)(74316002)(7736002)(7906003)(97736004)(189998001)(102836003)(6116002)(790700001)(3846002)(68736007)(2501003)(50986999)(3660700001)(3280700002)(54356999)(101416001)(92566002)(2900100001)(81166006)(8676002)(66066001)(8936002)(81156014)(450100001)(2351001)(106356001)(105586002)(122556002)(5660300001)(7696004)(53936002)(6916009)(2906002)(6436002)(77096006)(25786008)(38730400002)(5640700003)(110136004)(6506006)(606005)(54896002)(86362001)(6306002)(236005)(9686003)(99286003)(55016002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR12MB0153; H:DM2PR12MB0154.namprd12.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Feb 2017 15:55:12.6348 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR12MB0153 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: Question for memory type: EfiReservedMemoryType 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: Fri, 17 Feb 2017 15:55:14 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable The UEFI spec says: EfiReservedMemoryType - Not usable. Some people take this to mean that you should not use this memory type. So= me think it will mark the memory as unusable by UEFI or OS. Could the spec be updated to be more precise as to the meaning? As far as I can tell, the code will allocate memory of type EfiReservedMemo= ryType and will not use that memory. Garrett Kirkendall SMTS Firmware Engineer | CTE 7171 Southwest Parkway, Austin, TX 78735 USA AMD facebook | amd.com