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.web11.612.1580334265699648796 for ; Wed, 29 Jan 2020 13:44:25 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ffDlyIKF; 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=1580334264; 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=xIxtOkZFnpUiBT7prXCr7iDDhUVBTXCDceR8ozfSiEA=; b=ffDlyIKFJyHpj3Qv2WBORgh08l9Ysx8Zn+UwsTp43RWb4rBM4wC4n7SpeF9D2Ib2V5mG/G T41WGNwX7PW5/6uMegnkZR9edkgR4UI8HR7r79cVTGG3qNvr9ok7EsMufnJi3hv52d2mCS lgChZJ4TbqxbLGTWYAYYyRCkZrkebw0= 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-387-UX0SOLB4NqqGR-R7iTCR_Q-1; Wed, 29 Jan 2020 16:44:22 -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 66D3F18A6EC0; Wed, 29 Jan 2020 21:44:21 +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 736535DA75; Wed, 29 Jan 2020 21:44:20 +0000 (UTC) From: "Laszlo Ersek" To: edk2-devel-groups-io Cc: Ard Biesheuvel , Jordan Justen Subject: [PATCH v2 04/11] OvmfPkg/PlatformPei: factor out Q35BoardVerification() Date: Wed, 29 Jan 2020 22:44:05 +0100 Message-Id: <20200129214412.2361-5-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: UX0SOLB4NqqGR-R7iTCR_Q-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: base64 QmVmb3JlIGFkZGluZyBhbm90aGVyIFNNTS1yZWxhdGVkLCBhbmQgdGhlcmVmb3JlIFEzNS1vbmx5 LCBkeW5hbWljYWxseQpkZXRlY3RhYmxlIGZlYXR1cmUsIGV4dHJhY3QgdGhlIGN1cnJlbnQgYm9h cmQgdHlwZSBjaGVjayBmcm9tClEzNVRzZWdNYnl0ZXNJbml0aWFsaXphdGlvbigpIHRvIGEgc3Rh bmRhbG9uZSBmdW5jdGlvbi4KCkNjOiBBcmQgQmllc2hldXZlbCA8YXJkLmJpZXNoZXV2ZWxAbGlu YXJvLm9yZz4KQ2M6IEpvcmRhbiBKdXN0ZW4gPGpvcmRhbi5sLmp1c3RlbkBpbnRlbC5jb20+ClJl ZjogaHR0cHM6Ly9idWd6aWxsYS50aWFub2NvcmUub3JnL3Nob3dfYnVnLmNnaT9pZD0xNTEyClNp Z25lZC1vZmYtYnk6IExhc3psbyBFcnNlayA8bGVyc2VrQHJlZGhhdC5jb20+ClJldmlld2VkLWJ5 OiBKaWV3ZW4gWWFvIDxqaWV3ZW4ueWFvQGludGVsLmNvbT4KLS0tCgpOb3RlczoKICAgIHYyOgog ICAgLSB0cmltIENjIGxpc3QKICAgIC0gcGljayB1cCBKaWV3ZW4ncyBSLWIgPGh0dHBzOi8vZWRr Mi5ncm91cHMuaW8vZy9kZXZlbC9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