From patchwork Thu Jul 16 08:22:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 51142 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C083F22A8A for ; Thu, 16 Jul 2015 08:24:42 +0000 (UTC) Received: by wgbbj7 with SMTP id bj7sf16879669wgb.2 for ; Thu, 16 Jul 2015 01:24:42 -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=1JL30tnKxMmwyJ6Uj1aodo3S6DcRR+eiVVD53ldwn98=; b=ETfbx7holGWm2M8AkMXV+7ahc5HPZsjzQEathzfJ1194lNrSPsFLUuCcfCfLH4iAwm 7c/9kPjIukGiTFCQ0dv59qUbj788J3+dMvu1HIoGzTCLXd63csGZ4slVtigCmNRR581T XEPsu4UNL3TDsgzQ+DpHs6ZloE+mY5yJoloZZ5pDisAPCkv1p8th42Nyb0T9DZHY8Ar4 18w0LAj7oHzW9cP8h5JJCPO3Hekby0iuGvovNBb1l1OgE+6MIGh6ByEo6EYOOzp/gan/ g36IgrKFGKwgJ13FiLfok6IQQ/6LVwCsww0rToUWzwFqDTYfEWlSA2iroBs5dRdd8Rk2 9OUA== X-Gm-Message-State: ALoCoQlOW5baOY1AxG1hBEd7v8q1nTq8smdCtx+trQojKe1bA8r577fHug0gfJdoIX01gwYLAuen X-Received: by 10.112.255.66 with SMTP id ao2mr4336474lbd.15.1437035082109; Thu, 16 Jul 2015 01:24:42 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.36.169 with SMTP id r9ls310868laj.86.gmail; Thu, 16 Jul 2015 01:24:41 -0700 (PDT) X-Received: by 10.152.8.16 with SMTP id n16mr8138217laa.17.1437035081701; Thu, 16 Jul 2015 01:24:41 -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 l1si6280576lbj.175.2015.07.16.01.24.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Jul 2015 01:24:41 -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 m6so39059279lae.0 for ; Thu, 16 Jul 2015 01:24:41 -0700 (PDT) X-Received: by 10.152.18.162 with SMTP id x2mr8236733lad.73.1437035081479; Thu, 16 Jul 2015 01:24:41 -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 hn6csp94122lbb; Thu, 16 Jul 2015 01:24:39 -0700 (PDT) X-Received: by 10.50.8.68 with SMTP id p4mr2925871iga.4.1437035078854; Thu, 16 Jul 2015 01:24:38 -0700 (PDT) Received: from lists.sourceforge.net (lists.sourceforge.net. [216.34.181.88]) by mx.google.com with ESMTPS id s2si1078174igr.45.2015.07.16.01.24.38 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 16 Jul 2015 01:24:38 -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-2.v29.ch3.sourceforge.com) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1ZFeSw-0002bp-Q8; Thu, 16 Jul 2015 08:24:26 +0000 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1ZFeSv-0002bh-Dl for edk2-devel@lists.sourceforge.net; Thu, 16 Jul 2015 08:24:25 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of linaro.org designates 209.85.220.46 as permitted sender) client-ip=209.85.220.46; envelope-from=heyi.guo@linaro.org; helo=mail-pa0-f46.google.com; Received: from mail-pa0-f46.google.com ([209.85.220.46]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1ZFeSt-0005fY-OI for edk2-devel@lists.sourceforge.net; Thu, 16 Jul 2015 08:24:25 +0000 Received: by pachj5 with SMTP id hj5so39077416pac.3 for ; Thu, 16 Jul 2015 01:24:18 -0700 (PDT) X-Received: by 10.66.193.130 with SMTP id ho2mr16103664pac.111.1437035058135; Thu, 16 Jul 2015 01:24:18 -0700 (PDT) Received: from localhost.localdomain ([180.150.157.4]) by smtp.gmail.com with ESMTPSA id pc5sm7063946pbc.15.2015.07.16.01.24.16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 16 Jul 2015 01:24:17 -0700 (PDT) From: Heyi Guo To: edk2-devel@lists.sourceforge.net Date: Thu, 16 Jul 2015 16:22:01 +0800 Message-Id: <1437034922-18361-5-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1437034922-18361-1-git-send-email-heyi.guo@linaro.org> References: <1437034922-18361-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: 1ZFeSt-0005fY-OI Subject: [edk2] [PATCH V4 4/5] 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. Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Heyi Guo Reviewed-by: Ruiyu Ni Reviewed-by: Feng Tian --- 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;