From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.61]) by mx.groups.io with SMTP id smtpd.web11.1508.1587714846518585048 for ; Fri, 24 Apr 2020 00:54:06 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=WXfdvLOP; spf=pass (domain: redhat.com, ip: 205.139.110.61, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587714845; 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=HXuSnP5f1pIpTo4G39dFvsQSBoLZjlBTjnjDS7Y2oPk=; b=WXfdvLOPYlrjQDXPSREXc7ZK6RvWv5noMmZqTi1TawXkcdEARjcIg+0RSi77V7nRH9x2XV i4RldGxuqUYslZzf7KHJbQsPpjr3T6vQsXrEZapwBtMC7Ng5mG19IKbwyyVe4g+g4m9aid uHNRh8s1bb1nrC1Y8K+HKf+4syN5Ctg= 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-452-D0Q3kCy3OB-xemoGolhqNA-1; Fri, 24 Apr 2020 03:54:03 -0400 X-MC-Unique: D0Q3kCy3OB-xemoGolhqNA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D7B1E800FC7; Fri, 24 Apr 2020 07:54:02 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-113-159.ams2.redhat.com [10.36.113.159]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0E73310016DA; Fri, 24 Apr 2020 07:54:00 +0000 (UTC) From: "Laszlo Ersek" To: edk2-devel-groups-io Cc: Ard Biesheuvel , Jordan Justen , Per Sundstrom , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 2/7] OvmfPkg/PlatformPei: parse "X-PciMmio64Mb" with QemuFwCfgSimpleParserLib Date: Fri, 24 Apr 2020 09:53:48 +0200 Message-Id: <20200424075353.8489-3-lersek@redhat.com> In-Reply-To: <20200424075353.8489-1-lersek@redhat.com> References: <20200424075353.8489-1-lersek@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 UmVwbGFjZSB0aGUKCi0gUWVtdUZ3Q2ZnRmluZEZpbGUoKSwKLSBRZW11RndDZmdTZWxlY3RJdGVt KCksCi0gUWVtdUZ3Q2ZnUmVhZEJ5dGVzKCksCi0gQXNjaWlTdHJEZWNpbWFsVG9VaW50NjQoKQoK c2VxdWVuY2UgaW4gdGhlIEdldEZpcnN0Tm9uQWRkcmVzcygpIGZ1bmN0aW9uIHdpdGggYSBjYWxs IHRvClFlbXVGd0NmZ1NpbXBsZVBhcnNlckxpYi4KClRoaXMgY2hhbmdlIGlzIGNvbXBhdGlibGUg d2l0aCB2YWxpZCBzdHJpbmdzIGFjY2VwdGVkIHByZXZpb3VzbHkuCgpDYzogQXJkIEJpZXNoZXV2 ZWwgPGFyZC5iaWVzaGV1dmVsQGFybS5jb20+CkNjOiBKb3JkYW4gSnVzdGVuIDxqb3JkYW4ubC5q dXN0ZW5AaW50ZWwuY29tPgpDYzogUGVyIFN1bmRzdHJvbSA8cGVyX3N1bmRzdHJvbUB5YWhvby5j b20+CkNjOiBQaGlsaXBwZSBNYXRoaWV1LURhdWTDqSA8cGhpbG1kQHJlZGhhdC5jb20+ClJlZjog aHR0cHM6Ly9idWd6aWxsYS50aWFub2NvcmUub3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