From nobody Thu Dec 26 22:06:30 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of seabios.org designates 78.46.105.101 as permitted sender) client-ip=78.46.105.101; envelope-from=seabios-bounces@seabios.org; helo=coreboot.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of seabios.org designates 78.46.105.101 as permitted sender) smtp.mailfrom=seabios-bounces@seabios.org; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from coreboot.org (coreboot.org [78.46.105.101]) by mx.zohomail.com with SMTPS id 1732223745148652.9972176068413; Thu, 21 Nov 2024 13:15:45 -0800 (PST) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTPA id D609CEC4FB; Thu, 21 Nov 2024 21:15:39 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTP id 79CF4E11B8 for ; Thu, 21 Nov 2024 21:15:23 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) for ; Thu, 21 Nov 2024 13:15:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732223722; x=1732828522; darn=seabios.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=LKAf8BIl6jWHo4maXfchnCs5c48ORKkv1mzagesMQGk=; b=VLMdVDW+MvPwvFc+0LNx0MFRnz6TJG8IUSQFBhwNbHXUl95ALskoa44+fIjdjXvSU6 4KflAC1gvXtAeIVvlo3FypASvNNR7lLojRP4vQYApi0RAF/TDB1XRsynBLz5AFveGkUX hKbEvh3uTDcZQwDxgdGz6gK2vMKEqpE4CDdxKmPCEEmSiyUW0gCsLrqtme/TAPoAzC8u BvFpvwJuN481e6Tf3lw6vV516+2VVkfhNJtOCe6lOu8Xp5dmmssFH8oh+aIJsGbHsSZu WHRW6zYblux7uACDVAYF2JOd3p7VakkYVrenxbvkdxOy8B/eqmkPbSQHsEqyKd9gLEs3 WEKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732223722; x=1732828522; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=LKAf8BIl6jWHo4maXfchnCs5c48ORKkv1mzagesMQGk=; b=ixgYYwNSx/iMOYaEx6qf9J+OrCev9gKczqEm6KTYt/EBDQv6fp1c7ObPF3GHtmzksP cyuiCGJZyN6Ux/kiwVpaasR6S0BM/eoqQMxS8hFGlRw3NPeqoENe+wm78GxPQ+jQ3+bh 9C/wX4kiF7c17vIMqNGvIEkdx7++7/HYjPG4Kzw06BPxFbdOOE4cK0rAVOfum/7scj7N LJn8iBXGapTk7UFQGf/cbwZOZ6D9qKFmWZSNNexh1Uop6AgLIzZiM2zPfCF/Yga+l9TO LJxcIc1sFu+FFUeGmIoBffVQEFKJ9mM5YT/4N2zBmuiHcYwbNNfx8GHM/bDL4gdXR5+B Qj5g== X-Gm-Message-State: AOJu0Yx1wlxZlX/1oOTpDB6VzBCu/nM1I0G9VQ/3uxj7Hn/rPsxTf4Lh fL5vLhlPOGDKsA4FtYp9fC0oVcdS/58kT3HSh4YHT07PU5e7XEBKn7/kE/wEaUsRD7PGbSiAPXu ecTCccpD+XdddYO7Zhas/To1ccZKb4aPa X-Gm-Gg: ASbGncvuWKxWbCULYt9kyFS/Ldwk+4bSlDEBiaS2xIVzXmP9G3cXW5sIMTz/T4MckNc 8uZr9QqLQzou4AzWmoA7NYpUwxDgh6GQ= X-Google-Smtp-Source: AGHT+IG60EuTi9n1DFnXJFZfZyaAiPNJakrty+enJRZNtuiVTU94JqLastbHtYevAYegveE0N7utZKw1A7Iw48shRG0= X-Received: by 2002:a05:6830:3c90:b0:717:d5f4:9bcd with SMTP id 46e09a7af769-71c04df4b15mr331764a34.29.1732223721502; Thu, 21 Nov 2024 13:15:21 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Daniel Khodabakhsh Date: Thu, 21 Nov 2024 21:15:09 +0000 Message-ID: To: "Kevin O'Connor" Content-Type: multipart/mixed; boundary="00000000000098f933062772c367" Message-ID-Hash: DEK5GLP2NCUNNHWEZSSBT2F2WZC73PWG X-Message-ID-Hash: DEK5GLP2NCUNNHWEZSSBT2F2WZC73PWG X-MailFrom: d.khodabakhsh@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-seabios.seabios.org-0; header-match-seabios.seabios.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: seabios@seabios.org X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [SeaBIOS] Re: [PATCH] Add force-boot-menu runtime configuration List-Id: SeaBIOS mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Authentication-Results: coreboot.org; auth=pass smtp.auth=mailman@coreboot.org smtp.mailfrom=seabios-bounces@seabios.org X-Spamd-Bar: ---- X-Zoho-Virus-Status: 1 X-Zoho-AV-Stamp: zmail-av-1.3.1/232.107.70 X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1732223746863116600 Content-Transfer-Encoding: quoted-printable --00000000000098f933062772c367 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Pgo+IFRoYW5rcy4gIExvb2tzIGZpbmUgdG8gbWUsIGJ1dCBhIHBhdGNoIHdvdWxkIHJlcXVpcmUg YSBzaWduZWQtb2ZmLWJ5Cj4gbGluZSAtIHNlZTogaHR0cHM6Ly93d3cuc2VhYmlvcy5vcmcvQ29u dHJpYnV0aW5nCj4KCkFwb2xvZ2llcywgYWxyaWdodCBJJ3ZlIGFkZGVkIHRoZSBzaWduLW9mZiBs aW5lLCBoZXJlIGlzIG15IHBhdGNoO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KSA+PTNEIDApCisgICAgICAgICAgICA7CisKKyAgICAgICAgY2hhciAq Ym9vdG1zZyA9M0Qgcm9tZmlsZV9sb2FkZmlsZSgiZXRjL2Jvb3QtbWVudS1tZXNzYWdlIiwgTlVM TCk7CisgICAgICAgIHByaW50ZigiJXMiLCBib290bXNnID86ICJcblByZXNzIEVTQyBmb3IgYm9v dCBtZW51LlxuXG4iKTsKKyAgICAgICAgZnJlZShib290bXNnKTsKKworICAgICAgICBlbmFibGVf Ym9vdHNwbGFzaCgpOworICAgICAgICBzY2FuX2NvZGUgPTNEIGdldF9rZXlzdHJva2UobWVudXRp bWUpOworICAgICAgICBkaXNhYmxlX2Jvb3RzcGxhc2goKTsKKyAgICAgICAgaWYgKHNjYW5fY29k ZSAhPTNEIG1lbnVrZXkpCisgICAgICAgICAgICByZXR1cm47CisgICAgfQoKICAgICB3aGlsZSAo Z2V0X2tleXN0cm9rZSgwKSA+PTNEIDApCiAgICAgICAgIDsKLS09MjAKMi40Ni4w --00000000000098f933062772c367 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-Force-display-of-the-boot-menu.patch" Content-Disposition: attachment; filename="0001-Force-display-of-the-boot-menu.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_m3rt95hf0 Rm9yY2UgZGlzcGxheSBvZiB0aGUgYm9vdCBtZW51IHdoZW4gYm9vdC1tZW51LXdhaXQgaXMgYSBu ZWdhdGl2ZSBudW1iZXIuCgpTaWduZWQtb2ZmLWJ5OiBEYW5pZWwgS2hvZGFiYWtoc2ggPGQua2hv ZGFiYWtoc2hAZ21haWwuY29tPgotLS0KIGRvY3MvUnVudGltZV9jb25maWcubWQgfCAgMiArLQog c3JjL2Jvb3QuYyAgICAgICAgICAgICB8IDI5ICsrKysrKysrKysrKysrKystLS0tLS0tLS0tLS0t CiAyIGZpbGVzIGNoYW5nZWQsIDE3IGluc2VydGlvbnMoKyksIDE0IGRlbGV0aW9ucygtKQoKZGlm ZiAtLWdpdCBhL2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gPSByb21maWxlX2xvYWRpbnQoImV0Yy9ib290 LW1lbnUtd2FpdCIsIERFRkFVTFRfQk9PVE1FTlVfV0FJVCk7CiAgICAgaW50IG1lbnVrZXkgPSBy b21maWxlX2xvYWRpbnQoImV0Yy9ib290LW1lbnUta2V5IiwgMSk7Ci0gICAgcHJpbnRmKCIlcyIs IGJvb3Rtc2cgPzogIlxuUHJlc3MgRVNDIGZvciBib290IG1lbnUuXG5cbiIpOwotICAgIGZyZWUo Ym9vdG1zZyk7Ci0KLSAgICB1MzIgbWVudXRpbWUgPSByb21maWxlX2xvYWRpbnQoImV0Yy9ib290 LW1lbnUtd2FpdCIsIERFRkFVTFRfQk9PVE1FTlVfV0FJVCk7Ci0gICAgZW5hYmxlX2Jvb3RzcGxh c2goKTsKLSAgICBpbnQgc2Nhbl9jb2RlID0gZ2V0X2tleXN0cm9rZShtZW51dGltZSk7Ci0gICAg ZGlzYWJsZV9ib290c3BsYXNoKCk7Ci0gICAgaWYgKHNjYW5fY29kZSAhPSBtZW51a2V5KQotICAg ICAgICByZXR1cm47CisgICAgaW50IHNjYW5fY29kZTsKKyAgICBpZiAobWVudXRpbWUgPj0gMCkg eworICAgICAgICB3aGlsZSAoZ2V0X2tleXN0cm9rZSgwKSA+PSAwKQorICAgICAgICAgICAgOwor CisgICAgICAgIGNoYXIgKmJvb3Rtc2cgPSByb21maWxlX2xvYWRmaWxlKCJldGMvYm9vdC1tZW51 LW1lc3NhZ2UiLCBOVUxMKTsKKyAgICAgICAgcHJpbnRmKCIlcyIsIGJvb3Rtc2cgPzogIlxuUHJl c3MgRVNDIGZvciBib290IG1lbnUuXG5cbiIpOworICAgICAgICBmcmVlKGJvb3Rtc2cpOworCisg ICAgICAgIGVuYWJsZV9ib290c3BsYXNoKCk7CisgICAgICAgIHNjYW5fY29kZSA9IGdldF9rZXlz dHJva2UobWVudXRpbWUpOworICAgICAgICBkaXNhYmxlX2Jvb3RzcGxhc2goKTsKKyAgICAgICAg aWYgKHNjYW5fY29kZSAhPSBtZW51a2V5KQorICAgICAgICAgICAgcmV0dXJuOworICAgIH0KIAog ICAgIHdoaWxlIChnZXRfa2V5c3Ryb2tlKDApID49IDApCiAgICAgICAgIDsKLS0gCjIuNDYuMAoK --00000000000098f933062772c367 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ SeaBIOS mailing list -- seabios@seabios.org To unsubscribe send an email to seabios-leave@seabios.org --00000000000098f933062772c367--