From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@akeo-ie.20150623.gappssmtp.com header.s=20150623 header.b=Ft5SfyZ0; spf=none, err=permanent DNS error (domain: akeo.ie, ip: 209.85.128.46, mailfrom: pete@akeo.ie) Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) by groups.io with SMTP; Wed, 25 Sep 2019 08:50:19 -0700 Received: by mail-wm1-f46.google.com with SMTP id y21so5553811wmi.0 for ; Wed, 25 Sep 2019 08:50:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akeo-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=hC09Y1sNLiYmsY4WUNFI/43v6cFcDf1tksP2Cy6g09s=; b=Ft5SfyZ0Qqg3axLZMdNl/J1VzDJ9a2rgQKLaheQxZyWe3YMkqRLJKexOSj98mcxkcu PfjLT4X4Ad7D92hFIyRHTpbEenpO/QVnzv8P04NniqbCOxXAZIaFDGYwtpQ1xMAjn9Z9 mW59I/zW/Naq5ZcYtfEjkBoZpL75zdsiWQszMjdOt4kn0uQ9HK7WmWzjsuzzPrnQPEZH /u295G77C55HZOzn6SlWeQ3HKGX0OZwd2dIoYQM2xd20FWcOlM6M+afAOSqWaSFuyAkY wuWPhMjY1Uu/xxvByX2JP09wV2iH44mZ50paqPWw2RE3OYbKtlDEdev32ptX9QusHYHC LJWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=hC09Y1sNLiYmsY4WUNFI/43v6cFcDf1tksP2Cy6g09s=; b=nmcvwyCHy01b9qr8sZEUyQiMw7T9GDr4NOkHpCg01Jy1KkIPAKC/3MI1BBIjnMG+zl vJgTD1LvcUooCqMnlqx0JIqRyHOBxKgRVpJf1By5AgyR0b+h3omnTmwhV8TPWqlJzC6k gRltIoNix2DPUc4gX02wCIBCZEPqSK7o8qtWVFvj6vrYtc2TJVJvdLaqQjVuXRHDXSPy ZYBtEJxWR8Qt9ZstZGa76/vouHa6zVfjc3v1xUzpy5CxtAWiY8iM4QFx2cZunOBA8KWE NtkTr0GARlaVMEuR0EDsiwfIQmC5ecjnI0AePJ8tySpFD55uKZh8d+s9zDDkwMkXqgyl 73tQ== X-Gm-Message-State: APjAAAUcPkJa6jf6mdUio54VXm9Ik0UE9oAsUmQKvSWhcQ66T7cyMyil jkU6NHg99aQYR24kkRV4+yIWSeUffrk= X-Google-Smtp-Source: APXvYqyaZvidRF7lR+2rDfh32Hy+WJ6ls+utW4WLJfdJbw8PloBBKYFIXVvNAtuHKhppBPLJCpsOAQ== X-Received: by 2002:a1c:720b:: with SMTP id n11mr8146723wmc.23.1569426617438; Wed, 25 Sep 2019 08:50:17 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([84.203.73.37]) by smtp.gmail.com with ESMTPSA id b7sm4975961wrj.28.2019.09.25.08.50.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Sep 2019 08:50:16 -0700 (PDT) From: "Pete Batard" To: devel@edk2.groups.io Cc: zhichao.gao@intel.com, ray.ni@intel.com Subject: [PATCH 1/1] MdeModulePkg/BdsDxe: Also call PlatformBootManagerWaitCallback on 0 Date: Wed, 25 Sep 2019 16:50:05 +0100 Message-Id: <20190925155005.12532-1-pete@akeo.ie> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The existing loop is set to call PlatformBootManagerWaitCallback every second except the last one. We believe this is a mistake as it prevents the called code from performing timeout expiration tasks such as, for instance, ensuring that the last segment of a progress bar is displayed before continuing (which is a current issue for the RPi3 platform). Signed-off-by: Pete Batard --- MdeModulePkg/Universal/BdsDxe/BdsEntry.c | 1 + 1 file changed, 1 insertion(+) diff --git a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c b/MdeModulePkg/Universal/BdsDxe/BdsEntry.c index f3d5e5ac0615..7968a58f3454 100644 --- a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c +++ b/MdeModulePkg/Universal/BdsDxe/BdsEntry.c @@ -341,6 +341,7 @@ BdsWait ( TimeoutRemain--; } } + PlatformBootManagerWaitCallback (0); DEBUG ((EFI_D_INFO, "[Bds]Exit the waiting!\n")); } -- 2.21.0.windows.1