From nobody Tue Dec 3 17:52:47 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 1731034485992383.8996824424223; Thu, 7 Nov 2024 18:54:45 -0800 (PST) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTPA id AA2E6ED0A7; Fri, 8 Nov 2024 02:54:41 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTP id 8D83DED08C for ; Fri, 8 Nov 2024 02:54:25 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) for ; Thu, 07 Nov 2024 18:54:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731034464; x=1731639264; darn=seabios.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=PPHBuFUPjXIWFa7+DBx5Gk3id9NrCm2rCzHcBIf0yvE=; b=O36IcXrQdhS16GQF75F4HP367nP+mgePI1vys0Ysjt8m0RI2yfwWvtSkFCsybWCt9d dXQtD2gFAT0JxjbEq/v9gu33ESF87ilxlwQg5ZYE7Yba8PQgQm2A/jUHoRrpGc+vEjTZ 3k/65JZ9jk7ZzGLDK0518tINNtJI1eJQuZwC1+IcgAQ199OvIckAPXyTMGBBpe/DFBzQ VAk4DJLNcAaTyu4TQp6f2yffo0LP4f7qg/e0qWfVNYBcWzdSBe6LpROrKE4+VnMwXQim y1g7m8HlP9BX4w64x7pOMeE+eRjOvtrOYk4XYzFyHV9A6GDo3vy3X6m82yMpp2tipMYE wNRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731034464; x=1731639264; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=PPHBuFUPjXIWFa7+DBx5Gk3id9NrCm2rCzHcBIf0yvE=; b=OlKfGHvYhIugn+lY6jug2b9VhjSG141niIg5mItakxyATM78fnpVZGY57iE4Zsz7sL 0YMQhaMEx1EXnaLATpxjL1nfkDT6hrCpWiaWoIJ6QW/7EbvA5QE/75z7F+JCDSrmS4Te ozb6/j/D1/gart+GBmg1h4+BEGKraZWx32+7yO7wb/ALXeeyIiEIcNNawMLJleP9UqP9 gF6HmDkznC/aKN783QN0D7J0oDmMCrf+WPQWlAAg0QTi5QFsCaSWBtWvj0IFJcLRTXwT rWEvx5c1HjSkVDMWUYGaVuVundZhU7xe0519fHwS9dEQU7I+ibHf2mHVQq8WG4ihqKBh lqPw== X-Gm-Message-State: AOJu0Ywm4aKy8LUWWtXnywvYcQpIdLVof941aELhDojSt/AUKJBBOLI4 Weq44IL86DjE74muEqN1TKi+o9cywL/2YbnK73z+YP0Zp2T07VWRE38MWp/IoDqMPfME+rE/cxt QuNpfD+rc8baB0I/+prn+e3Cm3/AlFofc X-Google-Smtp-Source: AGHT+IGgL+z8EUf7fxqTGWtdXLZ4i87F6LbWLTSUO8J/Q+sxeS7nNOKSFExwk8vabELESGok1mN6tpQ/NL9saTIlZsk= X-Received: by 2002:a05:6820:1f08:b0:5e1:e748:7ad with SMTP id 006d021491bc7-5ee57c77c36mr1327918eaf.7.1731034463724; Thu, 07 Nov 2024 18:54:23 -0800 (PST) MIME-Version: 1.0 From: Daniel Khodabakhsh Date: Fri, 8 Nov 2024 02:54:11 +0000 Message-ID: To: seabios@seabios.org Content-Type: multipart/mixed; boundary="0000000000004e3dd406265dde10" Message-ID-Hash: YIJEBET2MZGAMSP6WTANL5OIPVO3VN52 X-Message-ID-Hash: YIJEBET2MZGAMSP6WTANL5OIPVO3VN52 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 X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [SeaBIOS] [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/230.853.44 X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1731034486948116600 Content-Transfer-Encoding: quoted-printable --0000000000004e3dd406265dde10 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 VGhpcyBjaGFuZ2UgYWRkcyBhICdmb3JjZS1ib290LW1lbnUnIHJ1bnRpbWUgY29uZmlndXJhdGlv biBzdWNoIHRoYXQKaWYgYSBub24temVybyB2YWx1ZSBpcyBzZXQgYW5kICdzaG93LWJvb3QtbWVu dScgaXMgYWxzbyBub24temVybywKU2VhQklPUyB3aWxsIHNob3cgdGhlIGJvb3QgbWVudSB3aXRo b3V0IGEgdGltZW91dC4KClRoaXMgaXMgc2ltaWxhciB0byBHUlVCIGhhdmluZyBhIHRpbWVvdXQg c2V0IHRvICctMScgYW5kIG9yaWdpbmFsbHkgSQp3YW50ZWQgdG8gaW1wbGVtZW50IGl0IHRoYXQg d2F5IGJ1dCB0aGUgZnVuY3Rpb24gdG8gcmV0cmlldmUgYW4KaW50ZWdlciByZXRyaWV2ZXMg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JuOworICAgIGludCBzY2FuX2NvZGU7CisgICAgaWYgKGZvcmNlX2Jvb3Rf bWVudSA9M0Q9M0QgMCkgeworICAgICAgICB3aGlsZSAoZ2V0X2tleXN0cm9rZSgwKSA+PTNEIDAp CisgICAgICAgICAgICA7CisKKyAgICAgICAgY2hhciAqYm9vdG1zZyA9M0Qgcm9tZmlsZV9sb2Fk ZmlsZSgiZXRjL2Jvb3QtbWVudS1tZXNzYWdlIiwgTlVMTCk7CisgICAgICAgIHByaW50ZigiJXMi LCBib290bXNnID86ICJcblByZXNzIEVTQyBmb3IgYm9vdCBtZW51LlxuXG4iKTsKKyAgICAgICAg ZnJlZShib290bXNnKTsKKworICAgICAgICB1MzIgbWVudXRpbWUgPTNEIHJvbWZpbGVfbG9hZGlu dCgiZXRjL2Jvb3QtbWVudS13YWl0IiwKREVGQVVMVF9CT09UTUVOVV9XQUlUKTsKKyAgICAgICAg ZW5hYmxlX2Jvb3RzcGxhc2goKTsKKyAgICAgICAgc2Nhbl9jb2RlID0zRCBnZXRfa2V5c3Ryb2tl KG1lbnV0aW1lKTsKKyAgICAgICAgZGlzYWJsZV9ib290c3BsYXNoKCk7CisgICAgICAgIGlmIChz Y2FuX2NvZGUgIT0zRCBtZW51a2V5KQorICAgICAgICAgICAgcmV0dXJuOworICAgIH0KCiAgICAg d2hpbGUgKGdldF9rZXlzdHJva2UoMCkgPj0zRCAwKQogICAgICAgICA7Ci0tPTIwCjIuNDYuMA== --0000000000004e3dd406265dde10 Content-Type: application/octet-stream; name="0001-Add-force-boot-menu-runtime-configuration.patch" Content-Disposition: attachment; filename="0001-Add-force-boot-menu-runtime-configuration.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_m3857nin0 RnJvbSBiMWQ2OWM4ZGE5MGFiOWVjMjVjYzNmMzVlZDVlZTY1MWU4NDA1ZmYxIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBEYW5pZWwgS2hvZGFiYWtoc2ggPGQua2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IpOworICAgICAgICBmcmVlKGJvb3Rtc2cpOworCisgICAgICAg IHUzMiBtZW51dGltZSA9IHJvbWZpbGVfbG9hZGludCgiZXRjL2Jvb3QtbWVudS13YWl0IiwgREVG QVVMVF9CT09UTUVOVV9XQUlUKTsKKyAgICAgICAgZW5hYmxlX2Jvb3RzcGxhc2goKTsKKyAgICAg ICAgc2Nhbl9jb2RlID0gZ2V0X2tleXN0cm9rZShtZW51dGltZSk7CisgICAgICAgIGRpc2FibGVf Ym9vdHNwbGFzaCgpOworICAgICAgICBpZiAoc2Nhbl9jb2RlICE9IG1lbnVrZXkpCisgICAgICAg ICAgICByZXR1cm47CisgICAgfQogCiAgICAgd2hpbGUgKGdldF9rZXlzdHJva2UoMCkgPj0gMCkK ICAgICAgICAgOwotLSAKMi40Ni4wCgo= --0000000000004e3dd406265dde10 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 --0000000000004e3dd406265dde10--