Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 2017 06:21:56 +0000
From:      "decui_microsoft.com (Dexuan Cui)" <phabric-noreply@FreeBSD.org>
To:        freebsd-virtualization@freebsd.org
Subject:   [Differential] D9904: fix UEFI boot on physical machines
Message-ID:  <72b83450b87d83fa9650c03aeb531da0@localhost.localdomain>
In-Reply-To: <differential-rev-PHID-DREV-wovfwnbw6lvlppwgkwpu-req@FreeBSD.org>
References:  <differential-rev-PHID-DREV-wovfwnbw6lvlppwgkwpu-req@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--b1_72b83450b87d83fa9650c03aeb531da0
Content-Type: text/plain; charset = "utf-8"
Content-Transfer-Encoding: base64

ZGVjdWlfbWljcm9zb2Z0LmNvbSB1cGRhdGVkIHRoZSBzdW1tYXJ5IGZvciB0aGlzIHJldmlzaW9u
LgpkZWN1aV9taWNyb3NvZnQuY29tIHVwZGF0ZWQgdGhpcyByZXZpc2lvbiB0byBEaWZmIDI2MDIz
LgoKQ0hBTkdFUyBTSU5DRSBMQVNUIFVQREFURQogIGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9y
Zy9EOTkwND92cz0yNjAyMCZpZD0yNjAyMwoKUkVWSVNJT04gREVUQUlMCiAgaHR0cHM6Ly9yZXZp
ZXdzLmZyZWVic2Qub3JnL0Q5OTA0CgpBRkZFQ1RFRCBGSUxFUwogIHN5cy9ib290L2VmaS9sb2Fk
ZXIvY29weS5jCgpFTUFJTCBQUkVGRVJFTkNFUwogIGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9y
Zy9zZXR0aW5ncy9wYW5lbC9lbWFpbHByZWZlcmVuY2VzLwoKVG86IGRlY3VpX21pY3Jvc29mdC5j
b20sIGltcCwgamhiLCB3aWxsLCBraWIsIGRlbHBoaWosIGVtYXN0ZSwgbWFyY2VsLCBzZXBoZXJv
c2FfZ21haWwuY29tLCBob256aGFuX21pY3Jvc29mdC5jb20sIGhvd2FyZDBzdV9nbWFpbC5jb20s
IHRzb29tZSwgZ29uem8sIG1hbnUsIGFuZHJldywgc2JydW5vLCBhbWJyaXNrbywgYWxsYW5qdWRl
LCBiYXB0LCBjZW0sIHNtaCwgaWFuCkNjOiBmcmVlYnNkLXZpcnR1YWxpemF0aW9uLWxpc3QK

--b1_72b83450b87d83fa9650c03aeb531da0
Content-Type: text/x-patch; charset=utf-8; name="D9904.26023.patch"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="D9904.26023.patch"

ZGlmZiAtLWdpdCBhL3N5cy9ib290L2VmaS9sb2FkZXIvY29weS5jIGIvc3lzL2Jvb3QvZWZpL2xv
YWRlci9jb3B5LmMKLS0tIGEvc3lzL2Jvb3QvZWZpL2xvYWRlci9jb3B5LmMKKysrIGIvc3lzL2Jv
b3QvZWZpL2xvYWRlci9jb3B5LmMKQEAgLTUzLDcgKzUzLDcgQEAKIAlVSU5UMzIgZHZlcjsKIAlF
RklfU1RBVFVTIHN0YXR1czsKIAlpbnQgaSwgbmRlc2M7Ci0JdW5zaWduZWQgbG9uZyBhdmFpbGFi
bGVfcGFnZXM7CisJdW5zaWduZWQgbG9uZyBhdmFpbGFibGVfcGFnZXMgPSAwOwogCiAJc3ogPSAw
OwogCXN0YXR1cyA9IEJTLT5HZXRNZW1vcnlNYXAoJnN6LCAwLCAma2V5LCAmZHN6LCAmZHZlcik7
CkBAIC03MCw3ICs3MCw2IEBACiAJfQogCiAJbmRlc2MgPSBzeiAvIGRzejsKLQogCWZvciAoaSA9
IDAsIHAgPSBtYXA7IGkgPCBuZGVzYzsKIAkgICAgIGkrKywgcCA9IE5leHRNZW1vcnlEZXNjcmlw
dG9yKHAsIGRzeikpIHsKIAkJc3RhcnQgPSBwLT5QaHlzaWNhbFN0YXJ0OwpAQCAtODEsMjAgKzgw
LDM4IEBACiAJCQljb250aW51ZTsKIAogCQlpZiAocC0+VHlwZSAhPSBFZmlDb252ZW50aW9uYWxN
ZW1vcnkpCi0JCQljb250aW51ZTsK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gqbnJfcGFnZXMgPiBhdmFpbGFibGVfcGFnZXMpIHsKKwkJcHJpbnRm
KCJTdGFnaW5nIGFyZWEncyBzaXplIGlzIHJlZHVjZWQ6ICVsZCAtPiAlbGQhXG4iLAorCQkgICAg
Km5yX3BhZ2VzLCBhdmFpbGFibGVfcGFnZXMpOworCQkqbnJfcGFnZXMgPSBhdmFpbGFibGVfcGFn
ZXM7CisJfQogb3V0OgogCWZyZWUobWFwKTsKIH0KCg==


--b1_72b83450b87d83fa9650c03aeb531da0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?72b83450b87d83fa9650c03aeb531da0>