From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 68C397803D1 for ; Mon, 17 Jul 2023 16:59:43 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=A5OYt8KNiPPGO4fQh8n7x/4rG/f9Lt2evoXS7q3g0sc=; c=relaxed/simple; d=groups.io; h=X-Received:X-Received:X-Received:X-Gm-Message-State:X-Google-Smtp-Source:X-Received:X-Received:From:To:Cc:Subject:Date:Message-Id:MIME-Version:Precedence:List-Unsubscribe:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:Content-Transfer-Encoding; s=20140610; t=1689613181; v=1; b=BilbL4ssg2eLYpY45yvYqQClGbyQ8SESqPvlRiUELUOwWllYEHxUaGsLr8+HYLzfgN3yPX5r Nt1ATQAECxkyl/I/aNkOdFzhE9hgB5YyM1WRIc+j/4gezw/pbGGeXGFchPE0a0qAhU1gvJfFqOc NTpOgdHhBOB3qY3B6xZycoi4= X-Received: by 127.0.0.2 with SMTP id lbO9YY7687511xEXlHvHLHs0; Mon, 17 Jul 2023 09:59:41 -0700 X-Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) by mx.groups.io with SMTP id smtpd.web11.170.1689613143013975410 for ; Mon, 17 Jul 2023 09:59:03 -0700 X-Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-1b8ad356f03so27515355ad.1 for ; Mon, 17 Jul 2023 09:59:02 -0700 (PDT) X-Gm-Message-State: zeJMaJsjkiVKfVl72oTIlDcSx7686176AA= X-Google-Smtp-Source: APBJJlGz7fI+jFeIjlaAv/h86Du230YdSFGKOUkOT5eFxGPhJIM5l4kyZMLj+tfvGj/10v5VmqfWaw== X-Received: by 2002:a17:903:244a:b0:1b8:9b74:636b with SMTP id l10-20020a170903244a00b001b89b74636bmr11643630pls.68.1689613142116; Mon, 17 Jul 2023 09:59:02 -0700 (PDT) X-Received: from sunil-pc.Dlink ([106.51.190.25]) by smtp.gmail.com with ESMTPSA id g15-20020a1709029f8f00b001b04b1bd774sm110782plq.208.2023.07.17.09.58.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jul 2023 09:59:01 -0700 (PDT) From: "Sunil V L" To: devel@edk2.groups.io Cc: Sunil V L , Ard Biesheuvel , Jiewen Yao , Jordan Justen , Gerd Hoffmann , Andrei Warkentin Subject: [edk2-devel] [PATCH 1/1] OvmfPkg/RiscVVirt: Avoid printing hard coded timeout value Date: Mon, 17 Jul 2023 22:28:45 +0530 Message-Id: <20230717165845.3958731-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,sunilvl@ventanamicro.com Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=BilbL4ss; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Print the timeout value set in the PCD variable instead of hard coded 10 seconds. Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: Gerd Hoffmann Cc: Andrei Warkentin Signed-off-by: Sunil V L --- OvmfPkg/RiscVVirt/Library/PlatformBootManagerLib/PlatformBm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OvmfPkg/RiscVVirt/Library/PlatformBootManagerLib/PlatformBm.c b/OvmfPkg/RiscVVirt/Library/PlatformBootManagerLib/PlatformBm.c index be4316f320f9..964c35ee5328 100644 --- a/OvmfPkg/RiscVVirt/Library/PlatformBootManagerLib/PlatformBm.c +++ b/OvmfPkg/RiscVVirt/Library/PlatformBootManagerLib/PlatformBm.c @@ -936,7 +936,7 @@ PlatformBootManagerAfterConsole ( ); } - Print (L"Press ESCAPE within 10 seconds for boot options "); + Print (L"Press ESCAPE within %d seconds for boot options ", PcdGet16 (PcdPlatformBootTimeOut)); // // Process QEMU's -kernel command line option. The kernel booted this way // will receive ACPI tables: in PlatformBootManagerBeforeConsole(), we -- 2.39.2 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#106968): https://edk2.groups.io/g/devel/message/106968 Mute This Topic: https://groups.io/mt/100198952/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-