From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.81]) by mx.groups.io with SMTP id smtpd.web10.615.1580334268133561698 for ; Wed, 29 Jan 2020 13:44:28 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=U8/HQcQD; spf=pass (domain: redhat.com, ip: 207.211.31.81, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1580334267; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/zqwihHkGSsR6d7tio6UbGvZeGBp29vjpj5MsGoBpdE=; b=U8/HQcQD30Ak61IviHVJ1x75/pUXy3Z/oYikcL/no+x8YZEnIMCBdVV9nu+myWz/JbKbpJ jl4EHuNxIOwhsanBfw2ZtojdNgHgUUhzmZzJGJXsgPzO6fCKgG/W2YM8fDr69/RlFlZyW1 hk1sAtb4iJRXgCDZh6GFBBLLVwehFsE= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-159-8b7_X8o0M8KNzCzAcPDiAQ-1; Wed, 29 Jan 2020 16:44:23 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B0A2A18A6EC1; Wed, 29 Jan 2020 21:44:22 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-116-32.ams2.redhat.com [10.36.116.32]) by smtp.corp.redhat.com (Postfix) with ESMTP id BC9315DA75; Wed, 29 Jan 2020 21:44:21 +0000 (UTC) From: "Laszlo Ersek" To: edk2-devel-groups-io Cc: Ard Biesheuvel , Jordan Justen Subject: [PATCH v2 05/11] OvmfPkg/PlatformPei: detect SMRAM at default SMBASE (skeleton) Date: Wed, 29 Jan 2020 22:44:06 +0100 Message-Id: <20200129214412.2361-6-lersek@redhat.com> In-Reply-To: <20200129214412.2361-1-lersek@redhat.com> References: <20200129214412.2361-1-lersek@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-MC-Unique: 8b7_X8o0M8KNzCzAcPDiAQ-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: base64 SW50cm9kdWNlIHRoZSBRMzVTbXJhbUF0RGVmYXVsdFNtYmFzZUluaXRpYWxpemF0aW9uKCkgZnVu Y3Rpb24gZm9yCmRldGVjdGluZyB0aGUgIlNNUkFNIGF0IGRlZmF1bHQgU01CQVNFIiBmZWF0dXJl LgoKRm9yIG5vdywgdGhlIGZ1bmN0aW9uIGlzIG9ubHkgYSBza2VsZXRvbiwgc28gdGhhdCB3ZSBj YW4gZ3JhZHVhbGx5IGJ1aWxkCnVwb24gdGhlIHJlc3VsdCB3aGlsZSB0aGUgcmVzdWx0IGlzIGhh cmQtY29kZWQgYXMgRkFMU0UuIFRoZSBhY3R1YWwKZGV0ZWN0aW9uIHdpbGwgb2NjdXIgaW4gYSBs YXRlciBwYXRjaC4KCkNjOiBBcmQgQmllc2hldXZlbCA8YXJkLmJpZXNoZXV2ZWxAbGluYXJvLm9y Zz4KQ2M6IEpvcmRhbiBKdXN0ZW4gPGpvcmRhbi5sLmp1c3RlbkBpbnRlbC5jb20+ClJlZjogaHR0 cHM6Ly9idWd6aWxsYS50aWFub2NvcmUub3JnL3Nob3dfYnVnLmNnaT9pZD0xNTEyClNpZ25lZC1v ZmYtYnk6IExhc3psbyBFcnNlayA8bGVyc2VrQHJlZGhhdC5jb20+ClJldmlld2VkLWJ5OiBKaWV3 ZW4gWWFvI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