From patchwork Thu Jul 16 02:09:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 51135 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 04B4320300 for ; Thu, 16 Jul 2015 02:10:59 +0000 (UTC) Received: by wizo10 with SMTP id o10sf966360wiz.0 for ; Wed, 15 Jul 2015 19:10:58 -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=Dr5pwvm4W9Th7GcwxIkcika9VfYI/rgsJbCBZl6nrzBuRd5v96CE6hkWfp5JQF2fqP DtOxST2InVD+AJ9u5ZfEib03G8i7ydsYVD0KE9fcIK7bXyzNf3+Z5l2QwiKyoML0A1ua iVMWQTW4sRfRo5hdXqPpyOGJVqiQOgVrnmgBvAnEJ08hS4tM+AW5aiZFk1SHJMeB97Y8 Q5HCSQ6um6GzgZrQXuSuicaNtYPSsLFKd5mhjNDwInOeQtGDkisDT6jAoDqr4OKbziZ5 p2a4aJ4HJ0OVFvAxjOPx81VWZy8LKyGx/agiVULLNVPM2arcC8AfbuPnQhmN99WBTT64 kpZw== X-Gm-Message-State: ALoCoQkiapJbvFqzuR5wNBcMRFuulPVBFQ1jth086ucayaEBP4cJwBKOEnGt7XYjV4yjAYA7p3WW X-Received: by 10.180.83.33 with SMTP id n1mr140707wiy.4.1437012658357; Wed, 15 Jul 2015 19:10:58 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.88.7 with SMTP id bc7ls301140lab.74.gmail; Wed, 15 Jul 2015 19:10:58 -0700 (PDT) X-Received: by 10.112.24.71 with SMTP id s7mr6866348lbf.37.1437012658171; Wed, 15 Jul 2015 19:10:58 -0700 (PDT) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com. [209.85.217.182]) by mx.google.com with ESMTPS id eq12si5590052lac.171.2015.07.15.19.10.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Jul 2015 19:10:58 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) client-ip=209.85.217.182; Received: by lbbpo10 with SMTP id po10so35282627lbb.3 for ; Wed, 15 Jul 2015 19:10:58 -0700 (PDT) X-Received: by 10.152.7.7 with SMTP id f7mr7095989laa.106.1437012658075; Wed, 15 Jul 2015 19:10:58 -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 hn6csp3451485lbb; Wed, 15 Jul 2015 19:10:57 -0700 (PDT) X-Received: by 10.50.138.73 with SMTP id qo9mr1338550igb.64.1437012656553; Wed, 15 Jul 2015 19:10:56 -0700 (PDT) Received: from lists.sourceforge.net (lists.sourceforge.net. [216.34.181.88]) by mx.google.com with ESMTPS id v3si5705850icn.91.2015.07.15.19.10.55 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 15 Jul 2015 19:10:56 -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 1ZFYdL-0004DS-FL; Thu, 16 Jul 2015 02:10:47 +0000 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1ZFYdJ-0004DH-Iv for edk2-devel@lists.sourceforge.net; Thu, 16 Jul 2015 02:10:45 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of linaro.org designates 209.85.192.169 as permitted sender) client-ip=209.85.192.169; envelope-from=heyi.guo@linaro.org; helo=mail-pd0-f169.google.com; Received: from mail-pd0-f169.google.com ([209.85.192.169]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1ZFYdH-0000ey-Q1 for edk2-devel@lists.sourceforge.net; Thu, 16 Jul 2015 02:10:45 +0000 Received: by pdbqm3 with SMTP id qm3so35118617pdb.0 for ; Wed, 15 Jul 2015 19:10:38 -0700 (PDT) X-Received: by 10.66.55.66 with SMTP id q2mr13730196pap.94.1437012638211; Wed, 15 Jul 2015 19:10:38 -0700 (PDT) Received: from localhost.localdomain ([180.150.157.4]) by smtp.gmail.com with ESMTPSA id ym6sm6023953pac.32.2015.07.15.19.10.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 15 Jul 2015 19:10:37 -0700 (PDT) From: Heyi Guo To: edk2-devel@lists.sourceforge.net Date: Thu, 16 Jul 2015 10:09:47 +0800 Message-Id: <1437012588-24390-4-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1437012588-24390-1-git-send-email-heyi.guo@linaro.org> References: <1437012588-24390-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: 1ZFYdH-0000ey-Q1 Subject: [edk2] [PATCH V3 3/4] 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.217.182 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;