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.web12.9130.1588940224087027539 for ; Fri, 08 May 2020 05:17:04 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=aYQaMYXi; 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=1588940223; 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=3yb7Jbus4lN4oL8orobbmePJwm+Qb/rY4bE7w2iUHVQ=; b=aYQaMYXiKOj9df4VX9ZnER9ALE5LQYDFwwsbRr/QELIXFN/eIdxJdLNFtnpwRWUa9qwkmP tTRCJTUYbCi1ZuF9BIJ+suVtawSz0hjHHKzwJ9VJpGoK/+HeeOwLVMPBKQBFDzQ7X8rIbg ymVe2z0d4+5g5IRuXvn57fUoM3JpY8g= 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-47-2nGNBra6Mwu-fWg1BltIpA-1; Fri, 08 May 2020 08:17:01 -0400 X-MC-Unique: 2nGNBra6Mwu-fWg1BltIpA-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 81F64107ACCA; Fri, 8 May 2020 12:17:00 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-114-60.ams2.redhat.com [10.36.114.60]) by smtp.corp.redhat.com (Postfix) with ESMTP id 420345C1BE; Fri, 8 May 2020 12:16:59 +0000 (UTC) From: "Laszlo Ersek" To: edk2-devel-groups-io Cc: Ard Biesheuvel , Jiewen Yao , Jordan Justen , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 3/4] OvmfPkg/PlatformPei: extract memory type info defaults to PCDs Date: Fri, 8 May 2020 14:16:50 +0200 Message-Id: <20200508121651.16045-4-lersek@redhat.com> In-Reply-To: <20200508121651.16045-1-lersek@redhat.com> References: <20200508121651.16045-1-lersek@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 U29tZSBPdm1mUGtnIG1vZHVsZXMgYWxyZWFkeSBkZXBlbmQgb24gIkVtYmVkZGVkUGtnLmRlYyI7 IHRodXMsIHJlcGxhY2UKdGhlIG9wZW4tY29kZWQgbWVtb3J5IHR5cGUgaW5mbyBkZWZhdWx0cyBp biB0aGUgc291cmNlIGNvZGUgd2l0aCB0aGUKRW1iZWRkZWRQa2cgUENEcyB0aGF0IHN0YW5kIGZv ciB0aGUgc2FtZSBwdXJwb3NlLiBDb25zZXF1ZW50bHksIHBsYXRmb3JtCmJ1aWxkZXJzIGNhbiBv dmVycmlkZSB0aGVzZSB2YWx1ZXMgd2l0aCB0aGUgIi0tcGNkIiBvcHRpb24gb2YgImJ1aWxkIiwK d2l0aG91dCBzb3VyY2UgY29kZSB1cGRhdGVzLgoKV2hpbGUgYXQgaXQsIHNvcnQgdGhlIG1lbW9y eSB0eXBlIG5hbWVzIGFscGhhYmV0aWNhbGx5LgoKQ2M6IEFyZCBCaWVzaGV1dmVsIDxhcmQuYmll c2hldXZlbEBhcm0uY29tPgpDYzogSmlld2VuIFlhbyA8amlld2VuLnlhb0BpbnRlbC5jb20+CkNj OiBKb3JkYW4gSnVzdGVuIDxqb3JkYW4ubC5qdXN0ZW5AaW50ZWwuY29tPgpDYzogUGh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