From patchwork Mon Jul 13 03:24:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 51057 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 00C6622916 for ; Mon, 13 Jul 2015 03:25:30 +0000 (UTC) Received: by lagx9 with SMTP id x9sf95230345lag.2 for ; Sun, 12 Jul 2015 20:25:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:subject:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:x-original-sender :x-original-authentication-results:mailing-list; bh=dudjY/CZWdKPrSNbgI5kG1icnnJP7X8/lTkjBbyT+20=; b=bNfjdVU9CGHMRd7nuEbIPvFV0o1hcYi1pO4b+D6P/uwjnvVveVKodLpJkwchQhfSjG uEEYKpf0hMCvmdJPjXNe6NqH1yH2mrI/OafFnLvLJT2Bex5Wy9SHYAoTmNPbsPedD4zY 4G23wZo1tzhgp5BC79zSZzNl8Neumt7IzrDv7uKd0cwfkO4mL7OQpOaLAWYf359pLFyu cA8qXcM6GTr5BMv4tBZLpAqGwFNGmWMogRNP+iS8A9mnptu5/VT/g9DKfDYc7qc0ZuB6 j0Q0ouWksCZi5Ci9xNK8LQFL5wuYxHkDmi6EzW7C+SRznD+w7tkaFarolr6wh6IRe9St RDmw== X-Gm-Message-State: ALoCoQlElNzs7nRTggkjmF9RG7Q953ST2KULlR6/p0bbDfDaIvn1qPJI/f+RqholqwhnOPwkL0bO X-Received: by 10.152.27.130 with SMTP id t2mr17430956lag.2.1436757928992; Sun, 12 Jul 2015 20:25:28 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.120.40 with SMTP id kz8ls1473817lab.24.gmail; Sun, 12 Jul 2015 20:25:28 -0700 (PDT) X-Received: by 10.112.135.131 with SMTP id ps3mr29993716lbb.84.1436757928829; Sun, 12 Jul 2015 20:25:28 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id uo6si14108919lbc.21.2015.07.12.20.25.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 12 Jul 2015 20:25:28 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by laem6 with SMTP id m6so1648126lae.0 for ; Sun, 12 Jul 2015 20:25:28 -0700 (PDT) X-Received: by 10.112.131.98 with SMTP id ol2mr30898503lbb.56.1436757928408; Sun, 12 Jul 2015 20:25:28 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp1458826lbb; Sun, 12 Jul 2015 20:25:27 -0700 (PDT) X-Received: by 10.50.78.170 with SMTP id c10mr10540462igx.0.1436757926978; Sun, 12 Jul 2015 20:25:26 -0700 (PDT) Received: from lists.sourceforge.net (lists.sourceforge.net. [216.34.181.88]) by mx.google.com with ESMTPS id a11si13024028icm.68.2015.07.12.20.25.26 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 12 Jul 2015 20:25:26 -0700 (PDT) Received-SPF: pass (google.com: domain of edk2-devel-bounces@lists.sourceforge.net designates 216.34.181.88 as permitted sender) client-ip=216.34.181.88; Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1ZEUMj-0007H7-Fa; Mon, 13 Jul 2015 03:25:13 +0000 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1ZEUMi-0007H2-T4 for edk2-devel@lists.sourceforge.net; Mon, 13 Jul 2015 03:25:12 +0000 Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of linaro.org designates 209.85.192.170 as permitted sender) client-ip=209.85.192.170; envelope-from=heyi.guo@linaro.org; helo=mail-pd0-f170.google.com; Received: from mail-pd0-f170.google.com ([209.85.192.170]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1ZEUMh-0004mA-23 for edk2-devel@lists.sourceforge.net; Mon, 13 Jul 2015 03:25:12 +0000 Received: by pdbep18 with SMTP id ep18so217214009pdb.1 for ; Sun, 12 Jul 2015 20:25:05 -0700 (PDT) X-Received: by 10.68.205.196 with SMTP id li4mr64889645pbc.122.1436757905494; Sun, 12 Jul 2015 20:25:05 -0700 (PDT) Received: from localhost.localdomain ([180.150.148.224]) by smtp.gmail.com with ESMTPSA id d7sm16586315pbu.41.2015.07.12.20.25.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 12 Jul 2015 20:25:04 -0700 (PDT) From: Heyi Guo To: edk2-devel@lists.sourceforge.net Date: Mon, 13 Jul 2015 11:24:35 +0800 Message-Id: <1436757876-29691-3-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1436757876-29691-1-git-send-email-heyi.guo@linaro.org> References: <1436757876-29691-1-git-send-email-heyi.guo@linaro.org> X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1ZEUMh-0004mA-23 Subject: [edk2] [PATCH V2 2/3] MdeModulePkg/TerminalDxe: Set NullRemaining to FALSE by default X-BeenThere: edk2-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.sourceforge.net X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: heyi.guo@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 This is bug fix for TerminalDxe: NullRemaining should be set to FALSE by fault and then be set to TRUE conditionally. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Heyi Guo --- MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c index 597b15d..75bfdec 100644 --- a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c +++ b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c @@ -568,7 +568,7 @@ TerminalDriverBindingStart ( DefaultNode = NULL; ConInSelected = FALSE; ConOutSelected = FALSE; - NullRemaining = TRUE; + NullRemaining = FALSE; SimTxtInInstalled = FALSE; SimTxtOutInstalled = FALSE; FirstEnter = FALSE;